mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-21 15:27:47 -04:00
Core/Misc: Fixed new-delete-type-mismatch issue reported by AddressSanitizer
This commit is contained in:
@@ -2619,6 +2619,7 @@ class GameObjectModelOwnerImpl : public GameObjectModelOwnerBase
|
||||
{
|
||||
public:
|
||||
explicit GameObjectModelOwnerImpl(GameObject const* owner) : _owner(owner) { }
|
||||
virtual ~GameObjectModelOwnerImpl() = default;
|
||||
|
||||
virtual bool IsSpawned() const override { return _owner->isSpawned(); }
|
||||
virtual uint32 GetDisplayId() const override { return _owner->GetDisplayId(); }
|
||||
|
||||
Reference in New Issue
Block a user