Remove unnecessary m_instance declarations
They don't do anything at all in gcc and clang, but cause compile errors in MSVC see #955master
parent
28081bfd3e
commit
02aa281d30
|
@ -407,5 +407,3 @@ protected:
|
|||
|
||||
std::map<int, bool> m_textInputEnabled;
|
||||
};
|
||||
|
||||
template<> CApplication* CSingleton<CApplication>::m_instance;
|
||||
|
|
|
@ -161,5 +161,3 @@ private:
|
|||
|
||||
std::map<InputSlot, std::string> m_keyTable;
|
||||
};
|
||||
|
||||
template<> CInput* CSingleton<CInput>::m_instance;
|
||||
|
|
|
@ -67,5 +67,3 @@ private:
|
|||
//! Save path
|
||||
std::string m_savePath;
|
||||
};
|
||||
|
||||
template<> CPathManager* CSingleton<CPathManager>::m_instance;
|
||||
|
|
|
@ -112,5 +112,3 @@ inline CConfigFile & GetConfigFile()
|
|||
{
|
||||
return CConfigFile::GetInstance();
|
||||
}
|
||||
|
||||
template<> CConfigFile* CSingleton<CConfigFile>::m_instance;
|
||||
|
|
|
@ -136,5 +136,3 @@ inline CLogger* GetLogger()
|
|||
{
|
||||
return CLogger::GetInstancePointer();
|
||||
}
|
||||
|
||||
template<> CLogger* CSingleton<CLogger>::m_instance;
|
||||
|
|
|
@ -105,5 +105,3 @@ protected:
|
|||
|
||||
Language m_language;
|
||||
};
|
||||
|
||||
template<> CSettings* CSingleton<CSettings>::m_instance;
|
||||
|
|
|
@ -1490,5 +1490,3 @@ protected:
|
|||
|
||||
|
||||
} // namespace Gfx
|
||||
|
||||
template<> Gfx::CEngine* CSingleton<Gfx::CEngine>::m_instance;
|
||||
|
|
|
@ -716,5 +716,3 @@ protected:
|
|||
//! Index of currently selected element in command history
|
||||
int m_commandHistoryIndex;
|
||||
};
|
||||
|
||||
template<> CRobotMain* CSingleton<CRobotMain>::m_instance;
|
||||
|
|
|
@ -311,5 +311,3 @@ private:
|
|||
int m_activeObjectIterators;
|
||||
bool m_shouldCleanRemovedObjects;
|
||||
};
|
||||
|
||||
template<> CObjectManager* CSingleton<CObjectManager>::m_instance;
|
||||
|
|
Loading…
Reference in New Issue