File tree 2 files changed +3
-0
lines changed
server/game/Entities/GameObject
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ struct GameObjectDisplayInfoEntry;
39
39
class TC_COMMON_API GameObjectModelOwnerBase
40
40
{
41
41
public:
42
+ virtual ~GameObjectModelOwnerBase () = default ;
43
+
42
44
virtual bool IsSpawned () const { return false ; }
43
45
virtual uint32 GetDisplayId () const { return 0 ; }
44
46
virtual bool IsInPhase (std::set<uint32> const & /* phases*/ ) const { return false ; }
Original file line number Diff line number Diff line change @@ -2619,6 +2619,7 @@ class GameObjectModelOwnerImpl : public GameObjectModelOwnerBase
2619
2619
{
2620
2620
public:
2621
2621
explicit GameObjectModelOwnerImpl (GameObject const * owner) : _owner(owner) { }
2622
+ virtual ~GameObjectModelOwnerImpl () = default ;
2622
2623
2623
2624
virtual bool IsSpawned () const override { return _owner->isSpawned (); }
2624
2625
virtual uint32 GetDisplayId () const override { return _owner->GetDisplayId (); }
You can’t perform that action at this time.
0 commit comments