Salome HOME
Issue #2112 performance for partition
[modules/shaper.git] / src / ModelAPI / ModelAPI_FeatureValidator.h
index f051c1e0d4a27e23bf64baea4e3cf12f755a7b19..3b995c6c150a396758c113e5e0d3964a0610bbe3 100644 (file)
@@ -32,7 +32,7 @@ class MODELAPI_EXPORT ModelAPI_FeatureValidator : public ModelAPI_Validator
   /// \param theError the error string message if validation fails
   virtual bool isValid(const std::shared_ptr<ModelAPI_Feature>& theFeature,
                        const std::list<std::string>& theArguments,
-                       std::string& theError) const = 0;
+                       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;