Browse Source

add override for constructor (Werror breaks clang visual studio 2019 build) (#14)

erwincoumans 3 years ago
parent
commit
3f61878478
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Jolt/Physics/Collision/Shape/MutableCompoundShape.h

+ 1 - 1
Jolt/Physics/Collision/Shape/MutableCompoundShape.h

@@ -32,7 +32,7 @@ public:
 	/// Constructor
 	/// Constructor
 									MutableCompoundShape() : CompoundShape(EShapeSubType::MutableCompound) { }
 									MutableCompoundShape() : CompoundShape(EShapeSubType::MutableCompound) { }
 									MutableCompoundShape(const MutableCompoundShapeSettings &inSettings, ShapeResult &outResult);
 									MutableCompoundShape(const MutableCompoundShapeSettings &inSettings, ShapeResult &outResult);
-	virtual							~MutableCompoundShape();
+	virtual							~MutableCompoundShape() override;
 		
 		
 	// See Shape::CastRay
 	// See Shape::CastRay
 	virtual bool					CastRay(const RayCast &inRay, const SubShapeIDCreator &inSubShapeIDCreator, RayCastResult &ioHit) const override;
 	virtual bool					CastRay(const RayCast &inRay, const SubShapeIDCreator &inSubShapeIDCreator, RayCastResult &ioHit) const override;