Salome HOME
Get rid of compilation warnings. Part I.
[modules/shaper.git] / src / ModuleBase / ModuleBase_ISelection.h
index 29002e2e5fca4bcf4800db0b1ffa30086a176650..87a1b3565c677b01d38c1932555c0b0b1f8ee0ee 100644 (file)
@@ -42,9 +42,11 @@ class SelectMgr_EntityOwner;
 /// A selection can be obtained as from a viewer as from Object browser in various forms
 class MODULEBASE_EXPORT ModuleBase_ISelection
 {
- public:
-   /// Types of the selection place, where the selection is obtained
-   enum SelectionPlace { Browser, Viewer, AllControls };
+public:
+  /// Types of the selection place, where the selection is obtained
+  enum SelectionPlace { Browser, Viewer, AllControls };
+
+  virtual ~ModuleBase_ISelection() {}
 
   /// Returns a list of viewer selected presentations
   /// \return list of presentations