Core: Move FormationMgr to namespace

Also...
- Warning fixes
- Make Singleton constructors private
This commit is contained in:
Spp
2011-09-28 11:11:38 +02:00
parent 852ffcc139
commit cc06c41887
19 changed files with 69 additions and 50 deletions
+6 -3
View File
@@ -105,8 +105,10 @@ typedef std::pair<PooledQuestRelation::iterator, PooledQuestRelation::iterator>
class PoolMgr
{
friend class ACE_Singleton<PoolMgr, ACE_Null_Mutex>;
PoolMgr();
~PoolMgr() {};
private:
PoolMgr();
~PoolMgr() {};
public:
void LoadFromDB();
@@ -134,7 +136,8 @@ class PoolMgr
PooledQuestRelation mQuestCreatureRelation;
PooledQuestRelation mQuestGORelation;
protected:
private:
template<typename T>
void SpawnPool(uint32 pool_id, uint32 db_guid_or_pool_id);