refactor(Core): apply clang-tidy modernize-use-equals-default (#3834)

This commit is contained in:
Francesco Borzì
2020-12-07 19:21:55 +01:00
committed by GitHub
parent 0b8ec1f6ee
commit 1cf39b3d22
35 changed files with 48 additions and 56 deletions

View File

@@ -1077,7 +1077,7 @@ typedef std::unordered_map<uint32 /*category*/, GlobalCooldown> GlobalCooldownLi
class GlobalCooldownMgr // Shared by Player and CharmInfo
{
public:
GlobalCooldownMgr() {}
GlobalCooldownMgr() = default;
public:
bool HasGlobalCooldown(SpellInfo const* spellInfo) const;
@@ -1303,7 +1303,7 @@ struct SpellProcEventEntry; // used only private
class MMapTargetData
{
public:
MMapTargetData() {}
MMapTargetData() = default;
MMapTargetData(uint32 endTime, const Position* o, const Position* t)
{
_endTime = endTime;