COMMON: Change way the Singleton instances are instantiated
This fixes tons of warnings with clang from a recent xcode version on macOS (and possibly other systems) complaining that an instantiation of _singleton is required but no definition is available.
This commit is contained in:
parent
1141bfc1a6
commit
eefa72afa1
36 changed files with 1 additions and 138 deletions
|
@ -40,8 +40,6 @@
|
|||
|
||||
namespace Common {
|
||||
|
||||
DECLARE_SINGLETON(TranslationManager);
|
||||
|
||||
bool operator<(const TLanguage &l, const TLanguage &r) {
|
||||
return strcmp(l.name, r.name) < 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue