refactor(Core): apply clang-tidy modernize-use-default-member-init (#3827)

This commit is contained in:
Francesco Borzì
2020-12-07 20:34:06 +01:00
committed by GitHub
parent 1cf39b3d22
commit c5a35efd7b
47 changed files with 352 additions and 366 deletions

View File

@@ -128,7 +128,7 @@ class ThreatContainer
public:
typedef std::list<HostileReference*> StorageType;
ThreatContainer(): iDirty(false) { }
ThreatContainer() { }
~ThreatContainer() { clearReferences(); }
@@ -173,7 +173,7 @@ private:
void update();
StorageType iThreatList;
bool iDirty;
bool iDirty{false};
};
//=================================================