mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
Core/Misc: Add missing virtual destructors
(cherry picked from commit f4297aa3c6)
This commit is contained in:
@@ -72,6 +72,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>>
|
||||
{
|
||||
|
||||
@@ -294,8 +294,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