diff --git a/include/hpp/manipulation/graph/graph-component.hh b/include/hpp/manipulation/graph/graph-component.hh index f158a6c0347362002eaf2244afbfc535cae5bbc3..392485b60c2125776ca2d15a84af60effba52740 100644 --- a/include/hpp/manipulation/graph/graph-component.hh +++ b/include/hpp/manipulation/graph/graph-component.hh @@ -41,6 +41,8 @@ namespace hpp { class HPP_MANIPULATION_DLLAPI GraphComponent { public: + virtual ~GraphComponent () {}; + /// Get the component name. const std::string& name() const; diff --git a/include/hpp/manipulation/graph/state-selector.hh b/include/hpp/manipulation/graph/state-selector.hh index 571ea3058db9aec73972f24de3ad4845523363de..acc7c1e324f82f56dc0b566e3a55d1df0603592e 100644 --- a/include/hpp/manipulation/graph/state-selector.hh +++ b/include/hpp/manipulation/graph/state-selector.hh @@ -30,6 +30,8 @@ namespace hpp { class HPP_MANIPULATION_DLLAPI StateSelector : public GraphComponent { public: + virtual ~StateSelector () {}; + /// Create a new StateSelector. static StateSelectorPtr_t create(const std::string& name); diff --git a/include/hpp/manipulation/graph/statistics.hh b/include/hpp/manipulation/graph/statistics.hh index 9755b713e4b9679e3470698f46df5e9dcee65e3b..27ff91bc5f12ad0a3bd6b480203eac53d6b786ac 100644 --- a/include/hpp/manipulation/graph/statistics.hh +++ b/include/hpp/manipulation/graph/statistics.hh @@ -95,6 +95,8 @@ namespace hpp { class HPP_MANIPULATION_DLLLOCAL Histogram { public: + virtual ~Histogram () {}; + virtual void add (const RoadmapNodePtr_t& node) = 0; virtual HistogramPtr_t clone () const = 0; diff --git a/include/hpp/manipulation/handle.hh b/include/hpp/manipulation/handle.hh index fdf75c6db5bc063864864160fa0b1817101f31ac..0670cd8178ee88e1b39f14c64b708037350661f3 100644 --- a/include/hpp/manipulation/handle.hh +++ b/include/hpp/manipulation/handle.hh @@ -31,6 +31,8 @@ namespace hpp { class HPP_MANIPULATION_DLLAPI Handle { public: + virtual ~Handle () {}; + /// Create constraint corresponding to a gripper grasping this object /// \param robot the robot that grasps the handle, /// \param grasp object containing the grasp information