CAudioMacro: Make constructor explicit
Prevents implicit error-prone constructions from occurring.
This commit is contained in:
parent
e95cb1117a
commit
edaafd4bcf
|
@ -12,7 +12,7 @@ class CAudioMacro : public CResource
|
||||||
std::vector<CAssetID> mSamples;
|
std::vector<CAssetID> mSamples;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CAudioMacro(CResourceEntry *pEntry = 0)
|
explicit CAudioMacro(CResourceEntry *pEntry = nullptr)
|
||||||
: CResource(pEntry)
|
: CResource(pEntry)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue