Core/Misc: Add missing virtual destructors
This commit is contained in:
1 parent
1bae56ff8b
commit
0b5ac91a0c
3 files changed
+6
-1
No files matched your search
@@ -187,6 +187,7 @@ uint32 const ArmorSpecializationIds[MAX_ARMOR_SPECIALIZATION_IDS] = { 86530, 865
|
||||
struct SpellModifier
|
||||
{
|
||||
SpellModifier(Aura* _ownerAura) : op(SpellModOp::HealingAndDamage), type(SPELLMOD_FLAT), value(0), mask(), spellId(0), ownerAura(_ownerAura) { }
|
||||
virtual ~SpellModifier() = default;
|
||||
|
||||
SpellModOp op;
|
||||
SpellModType type;
|
||||
|
||||
@@ -68,6 +68,8 @@ GridState* si_GridStates[MAX_GRID_STATE];
|
||||
ZoneDynamicInfo::ZoneDynamicInfo() : MusicId(0), DefaultWeather(nullptr), WeatherId(WEATHER_STATE_FINE),
|
||||
Intensity(0.0f) { }
|
||||
|
||||
RespawnInfo::~RespawnInfo() = default;
|
||||
|
||||
Map::~Map()
|
||||
{
|
||||
// UnloadAll must be called before deleting the map
|
||||
|
||||
@@ -121,8 +121,10 @@ using ZoneDynamicInfoMap = std::unordered_map<uint32 /*zoneId*/, ZoneDynamicInfo
|
||||
using RespawnListContainer = boost::heap::fibonacci_heap<RespawnInfo*, boost::heap::compare<CompareRespawnInfo>>;
|
||||
using RespawnListHandle = RespawnListContainer::handle_type;
|
||||
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