From da4a33f01a716120c2c8a22911c5a68858be1bdf Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 11 Oct 2019 22:39:55 -0400 Subject: [PATCH] CCollisionPrimitive: Default virtual destructor Same behavior, but more consistent with the existing interface, given a constructor is defaulted. --- Runtime/Collision/CCollisionPrimitive.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Collision/CCollisionPrimitive.hpp b/Runtime/Collision/CCollisionPrimitive.hpp index 93cd65c92..12e7dc030 100644 --- a/Runtime/Collision/CCollisionPrimitive.hpp +++ b/Runtime/Collision/CCollisionPrimitive.hpp @@ -137,7 +137,7 @@ public: virtual zeus::CAABox CalculateAABox(const zeus::CTransform&) const = 0; virtual zeus::CAABox CalculateLocalAABox() const = 0; virtual FourCC GetPrimType() const = 0; - virtual ~CCollisionPrimitive() {} + virtual ~CCollisionPrimitive() = default; virtual CRayCastResult CastRayInternal(const CInternalRayCastStructure&) const = 0; CRayCastResult CastRay(const zeus::CVector3f& start, const zeus::CVector3f& dir, float length, const CMaterialFilter& filter, const zeus::CTransform& xf) const;