CTweakData: Fix -Wreorder warnings
This commit is contained in:
parent
4a020d1d4a
commit
b2ad9cf13b
|
@ -20,10 +20,10 @@ class CTweakData : public CResource
|
||||||
std::vector<uint8> mTweakData;
|
std::vector<uint8> mTweakData;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CTweakData(CScriptTemplate* pTemplate, uint TweakID, CResourceEntry* pEntry = 0)
|
CTweakData(CScriptTemplate* pTemplate, uint TweakID, CResourceEntry* pEntry = nullptr)
|
||||||
: mpTemplate(pTemplate)
|
: CResource(pEntry)
|
||||||
|
, mpTemplate(pTemplate)
|
||||||
, mTweakID(TweakID)
|
, mTweakID(TweakID)
|
||||||
, CResource(pEntry)
|
|
||||||
{
|
{
|
||||||
CStructProperty* pProperties = pTemplate->Properties();
|
CStructProperty* pProperties = pTemplate->Properties();
|
||||||
mTweakData.resize(pProperties->DataSize());
|
mTweakData.resize(pProperties->DataSize());
|
||||||
|
|
Loading…
Reference in New Issue