Core/Misc: Fixed new-delete-type-mismatch issue reported by AddressSanitizer

This commit is contained in:
joschiwald
2018-01-28 23:34:14 +01:00
parent c4bf996c7d
commit dc43a08d36
2 changed files with 3 additions and 0 deletions
@@ -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(); }