diff --git a/include/hpp/fcl/shape/geometric_shapes.h b/include/hpp/fcl/shape/geometric_shapes.h index 39e7e46f0a716073df76d05b584b45f8f445f217..c03da03aa54ccce5e4c4ab8fdfe01de589d79df6 100644 --- a/include/hpp/fcl/shape/geometric_shapes.h +++ b/include/hpp/fcl/shape/geometric_shapes.h @@ -56,6 +56,8 @@ class ShapeBase : public CollisionGeometry public: ShapeBase() {} + virtual ~ShapeBase () {}; + /// @brief Get object type: a geometric shape OBJECT_TYPE getObjectType() const { return OT_GEOM; } };