mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
--HG-- branch : trunk
This commit is contained in:
@@ -24,7 +24,7 @@ static bool GetValueHelper(ACE_Configuration_Heap *mConf, const char *name, ACE_
|
||||
if (!mConf)
|
||||
return false;
|
||||
|
||||
ACE_GUARD_RETURN(ACE_Thread_Mutex, guard, sConfig.mMtx, false);
|
||||
ACE_GUARD_RETURN(ACE_Thread_Mutex, guard, sConfig->mMtx, false);
|
||||
|
||||
ACE_TString section_name;
|
||||
ACE_Configuration_Section_Key section_key;
|
||||
|
||||
@@ -49,7 +49,7 @@ class Config
|
||||
ACE_Configuration_Heap *mConf;
|
||||
};
|
||||
|
||||
#define sConfig (*ACE_Singleton<Config, ACE_Null_Mutex>::instance())
|
||||
#define sConfig ACE_Singleton<Config, ACE_Null_Mutex>::instance()
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user