CAudioMacro: Make constructor explicit

Prevents implicit error-prone constructions from occurring.
This commit is contained in:
Lioncash 2020-06-11 13:30:05 -04:00
parent e95cb1117a
commit edaafd4bcf
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class CAudioMacro : public CResource
std::vector<CAssetID> mSamples;
public:
CAudioMacro(CResourceEntry *pEntry = 0)
explicit CAudioMacro(CResourceEntry *pEntry = nullptr)
: CResource(pEntry)
{}