Salome HOME
Fix for the issue #2413
[modules/shaper.git] / src / ModelAPI / ModelAPI_FeatureValidator.h
index b61b98f4111a00d1a04abe9dcc99949ed06494cb..2d87158b7ec881ecb1908c90fe7227addd99a831 100644 (file)
@@ -48,8 +48,9 @@ class MODELAPI_EXPORT ModelAPI_FeatureValidator : public ModelAPI_Validator
                        const std::list<std::string>& theArguments,
                        Events_InfoMessage& theError) const = 0;
 
-  /// Returns true if the attribute in feature is not obligatory for the feature execution
-  virtual bool isNotObligatory(std::string theFeature, std::string theAttribute) = 0;
+  /// Returns true if the attribute in feature is not obligatory for the feature execution.
+  ///Returns false by default.
+  virtual bool isNotObligatory(std::string theFeature, std::string theAttribute);
 };
 
 #endif