]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_Object.h
Salome HOME
Added a selection attribute and naming basic mechanisms
[modules/shaper.git] / src / ModelAPI / ModelAPI_Object.h
index 9241d9b6545310c70a13dd62e1e65d30186314d4..a00d6e3b856214479f23f42921929ba6562dcfd9 100644 (file)
@@ -54,6 +54,8 @@ class ModelAPI_Object
   /// Returns the group identifier of this object
   virtual std::string groupName() = 0;
 
+  /// To use virtuality for destructors
+  virtual ~ModelAPI_Object() {}
  protected:
   /// Sets the data manager of an object (document does)
   virtual void setData(boost::shared_ptr<ModelAPI_Data> theData)