mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 19:35:42 +00:00
refactor(Core): apply clang-tidy modernize-use-equals-default (#3834)
This commit is contained in:
@@ -29,7 +29,7 @@ class TempSummon : public Creature
|
||||
{
|
||||
public:
|
||||
explicit TempSummon(SummonPropertiesEntry const* properties, uint64 owner, bool isWorldObject);
|
||||
~TempSummon() override {}
|
||||
~TempSummon() override = default;
|
||||
void Update(uint32 time) override;
|
||||
virtual void InitStats(uint32 lifetime);
|
||||
virtual void InitSummon();
|
||||
|
||||
@@ -958,7 +958,7 @@ class PlayerTaxi
|
||||
{
|
||||
public:
|
||||
PlayerTaxi();
|
||||
~PlayerTaxi() {}
|
||||
~PlayerTaxi() = default;
|
||||
// Nodes
|
||||
void InitTaxiNodesForLevel(uint32 race, uint32 chrClass, uint8 level);
|
||||
void LoadTaxiMask(std::string const& data);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -95,8 +95,8 @@ typedef std::map<int8, VehicleSeat> SeatMap;
|
||||
class TransportBase
|
||||
{
|
||||
protected:
|
||||
TransportBase() { }
|
||||
virtual ~TransportBase() { }
|
||||
TransportBase() = default;
|
||||
virtual ~TransportBase() = default;
|
||||
|
||||
public:
|
||||
/// This method transforms supplied transport offsets into global coordinates
|
||||
|
||||
Reference in New Issue
Block a user