CAudioManager: Make constructor explicit
Prevents potentially error-prone constructions from occurring
This commit is contained in:
parent
7f881b1b10
commit
9692a064cd
|
@ -26,7 +26,7 @@ class CAudioManager
|
|||
std::unordered_map<uint16, CAudioGroup*> mSfxIdMap;
|
||||
|
||||
public:
|
||||
CAudioManager(CGameProject *pProj);
|
||||
explicit CAudioManager(CGameProject *pProj);
|
||||
void LoadAssets();
|
||||
void ClearAssets();
|
||||
SSoundInfo GetSoundInfo(uint32 SoundID);
|
||||
|
|
Loading…
Reference in New Issue