Clang doesn't allow to declare a private nested class as friend. This is unfortunate, but likely correct to the letter of the standard. As a workaround, now we're creating the instances within a static function of DependencyFactory -- in the end this improves readability A second issue fixed with this changeset is the scope of the marker function. Clang is right, this isn't ADL, thus an inline friend definition is simply not visible outside the class. |
||
|---|---|---|
| .. | ||
| config-facade.h | ||
| display-facade.h | ||
| display-handles.h | ||
| dummy-player-facade.h | ||
| guinotification-facade.h | ||
| interfaceproxy.hpp | ||
| lifecycle.h | ||
| limits.h | ||
| logging.h | ||
| play-facade.h | ||