Core/Misc: Add missing virtual destructors

(cherry picked from commit f4297aa3c6)
This commit is contained in:
Shauren
2023-08-22 12:38:55 +02:00
parent ca03ecf3e6
commit edca91b408
2 changed files with 5 additions and 1 deletions

View File

@@ -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>>
{

View File

@@ -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;