init code
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#include "CServerManager.h"
|
||||
|
||||
using namespace NS_QGobangServer;
|
||||
|
||||
CServerManager* CServerManager::m_pInstance = nullptr;
|
||||
|
||||
CServerManager *CServerManager::getInstance()
|
||||
{
|
||||
if(m_pInstance == nullptr)
|
||||
{
|
||||
m_pInstance = new CServerManager();
|
||||
}
|
||||
|
||||
return m_pInstance;
|
||||
}
|
||||
|
||||
CServerManager::CServerManager()
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user