aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2017-12-17 16:42:43 +0100
committerjackpoz <giacomopoz@gmail.com>2017-12-17 16:42:43 +0100
commit657683df7e1a861a158adc0c022d053e14146bf4 (patch)
treeb4182840d2e3a1bf28168aa093acc4ee27d6584d /src
parentae878e18ef121b7b1960f40f2b0f99debd2155d8 (diff)
Core/Misc: Fix clang 6 warnings
Diffstat (limited to 'src')
-rw-r--r--src/common/Collision/Models/GameObjectModel.h1
-rw-r--r--src/server/game/Entities/Object/ObjectGuid.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/common/Collision/Models/GameObjectModel.h b/src/common/Collision/Models/GameObjectModel.h
index 72fee944380..57603a5dc77 100644
--- a/src/common/Collision/Models/GameObjectModel.h
+++ b/src/common/Collision/Models/GameObjectModel.h
@@ -46,6 +46,7 @@ public:
virtual float GetOrientation() const { return 0.0f; }
virtual float GetScale() const { return 1.0f; }
virtual void DebugVisualizeCorner(G3D::Vector3 const& /*corner*/) const { }
+ virtual ~GameObjectModelOwnerBase() { }
};
class TC_COMMON_API GameObjectModel /*, public Intersectable*/
diff --git a/src/server/game/Entities/Object/ObjectGuid.h b/src/server/game/Entities/Object/ObjectGuid.h
index d1e34d3a38c..0d5c8e96371 100644
--- a/src/server/game/Entities/Object/ObjectGuid.h
+++ b/src/server/game/Entities/Object/ObjectGuid.h
@@ -284,6 +284,7 @@ public:
virtual void Set(ObjectGuid::LowType val) { _nextGuid = val; }
virtual ObjectGuid::LowType Generate() = 0;
ObjectGuid::LowType GetNextAfterMaxUsed() const { return _nextGuid; }
+ virtual ~ObjectGuidGeneratorBase() { }
protected:
static void HandleCounterOverflow(HighGuid high);