General: Remove unnecessary inline specifiers and add overrides

This commit is contained in:
Lioncash
2020-06-11 14:10:22 -04:00
parent 2d76c5865a
commit 012da6fb6d
107 changed files with 885 additions and 1055 deletions

View File

@@ -7,7 +7,7 @@
class CTweakCooker
{
/** Private constructor */
CTweakCooker() {}
CTweakCooker() = default;
public:
/** Cooker entry point */

View File

@@ -43,17 +43,17 @@ public:
}
}
inline CScriptTemplate* TweakTemplate() const
CScriptTemplate* TweakTemplate() const
{
return mpTemplate;
}
inline uint32 TweakID() const
uint32 TweakID() const
{
return mTweakID;
}
inline CStructRef TweakData() const
CStructRef TweakData() const
{
return CStructRef((void*) mTweakData.data(), mpTemplate->Properties());
}

View File

@@ -7,7 +7,7 @@
class CTweakLoader
{
/** Private constructor */
CTweakLoader() {}
CTweakLoader() = default;
public:
/** Loader entry point */

View File

@@ -16,7 +16,7 @@ class CTweakManager
TString mStandardFilePath;
public:
CTweakManager(CGameProject* pInProject);
explicit CTweakManager(CGameProject* pInProject);
~CTweakManager();
void LoadTweaks();
bool SaveTweaks();