]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_SelectionValidator.h
Salome HOME
Issue #462 disable features on multi-selection under debian
[modules/shaper.git] / src / ModuleBase / ModuleBase_SelectionValidator.h
index a519ed849aded91e4f618c9bb991f4673c76a579..f3d34617fa90ef1f87dd9f63ed7ff3771869fcea 100644 (file)
@@ -22,6 +22,7 @@
 class ModuleBase_SelectionValidator : public ModelAPI_Validator
 {
  public:
+  virtual ~ModuleBase_SelectionValidator();
    /// Returns True if selection is valid
    /// \param theSelection selection instance
   virtual bool isValid(const ModuleBase_ISelection* theSelection) const = 0;
@@ -30,10 +31,8 @@ class ModuleBase_SelectionValidator : public ModelAPI_Validator
    /// \param theSelection selection instance
    /// \param theArguments list of arguments
   virtual bool isValid(const ModuleBase_ISelection* theSelection,
-                       const std::list<std::string>& theArguments) const
-  {
-    return isValid(theSelection);
-  }
+                       const std::list<std::string>& theArguments) const;
+
 };
 
 #endif