mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Misc: Add missing virtual destructors
This commit is contained in:
@@ -218,6 +218,7 @@ enum SpecResetType
|
||||
struct SpellModifier
|
||||
{
|
||||
SpellModifier(Aura* _ownerAura) : op(SpellModOp::HealingAndDamage), type(SPELLMOD_FLAT), spellId(0), ownerAura(_ownerAura) { }
|
||||
virtual ~SpellModifier() = default;
|
||||
|
||||
SpellModOp op;
|
||||
SpellModType type;
|
||||
|
||||
@@ -74,6 +74,8 @@ GridState* si_GridStates[MAX_GRID_STATE];
|
||||
ZoneDynamicInfo::ZoneDynamicInfo() : MusicId(0), DefaultWeather(nullptr), WeatherId(WEATHER_STATE_FINE),
|
||||
Intensity(0.0f) { }
|
||||
|
||||
RespawnInfo::~RespawnInfo() = default;
|
||||
|
||||
struct RespawnInfoWithHandle;
|
||||
struct RespawnListContainer : boost::heap::fibonacci_heap<RespawnInfoWithHandle*, boost::heap::compare<CompareRespawnInfo>>
|
||||
{
|
||||
|
||||
@@ -158,8 +158,10 @@ struct CompareRespawnInfo
|
||||
using ZoneDynamicInfoMap = std::unordered_map<uint32 /*zoneId*/, ZoneDynamicInfo>;
|
||||
struct RespawnListContainer;
|
||||
using RespawnInfoMap = std::unordered_map<ObjectGuid::LowType, RespawnInfo*>;
|
||||
struct RespawnInfo
|
||||
struct TC_GAME_API RespawnInfo
|
||||
{
|
||||
virtual ~RespawnInfo();
|
||||
|
||||
SpawnObjectType type;
|
||||
ObjectGuid::LowType spawnId;
|
||||
uint32 entry;
|
||||
|
||||
Reference in New Issue
Block a user