Salome HOME
Fix: gcc issue: default parameter value for a reference from a constructor
[modules/shaper.git] / src / ModelAPI / ModelAPI_FeatureValidator.h
index 9b529e9db9567d3e0e4ad423555fe6b5037a79d0..6b83d30e8edde7909dd53e6a0998855d315b0ecb 100644 (file)
@@ -31,7 +31,7 @@ class MODELAPI_EXPORT ModelAPI_FeatureValidator : public ModelAPI_Validator
   /// \param theArguments list of string, feature attribute names: dependent attributes
   virtual bool isValid(const std::shared_ptr<ModelAPI_Feature>& theFeature,
                        const std::list<std::string>& theArguments,
-                       std::string& theError = std::string()) const = 0;
+                       std::string& 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;