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

@@ -444,7 +444,7 @@ private:
typedef std::unordered_map<uint32, uint32> PetAuraMap;
public:
PetAura() : removeOnChangePet(false), damage(0)
PetAura()
{
auras.clear();
}
@@ -483,8 +483,8 @@ public:
private:
PetAuraMap auras;
bool removeOnChangePet;
int32 damage;
bool removeOnChangePet{false};
int32 damage{0};
};
typedef std::map<uint32, PetAura> SpellPetAuraMap;