Salome HOME
Fix compilation of ModelHighAPI on CentOS
[modules/shaper.git] / src / GeomValidators / GeomValidators_FeatureKind.cpp
index 9c663a1f7984925943fc3daa2b6c2f2a256ac018..c6036e4146ea560d54edc4f75b5e94d266ba1ac3 100755 (executable)
@@ -6,6 +6,8 @@
 
 #include "GeomValidators_FeatureKind.h"
 
+#include <Events_InfoMessage.h>
+
 #include <ModelAPI_AttributeSelectionList.h>
 #include <ModelAPI_AttributeRefList.h>
 #include <ModelAPI_AttributeRefAttr.h>
@@ -19,7 +21,7 @@
 
 bool GeomValidators_FeatureKind::isValid(const AttributePtr& theAttribute,
                                       const std::list<std::string>& theArguments,
-                                      std::string& theError) const
+                                      Events_InfoMessage& theError) const
 {
   bool isSketchEntities = true;
   std::set<std::string> anEntityKinds;