From eeb4c60be5ac2f63b7602ed002ef326e85426690 Mon Sep 17 00:00:00 2001
From: Joseph Mirabel <jmirabel@laas.fr>
Date: Wed, 28 Aug 2019 11:48:37 +0200
Subject: [PATCH] Add missing virtual destructor.

---
 include/hpp/fcl/shape/geometric_shapes.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/hpp/fcl/shape/geometric_shapes.h b/include/hpp/fcl/shape/geometric_shapes.h
index 39e7e46f..c03da03a 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; }
 };
-- 
GitLab