Salome HOME
Fix for the issue #593: do not remove naming attribute, but use TNaming_Builder for...
[modules/shaper.git] / src / ModelAPI / ModelAPI_AttributeValidator.h
index 1abe1541af1335a027e8276548f00188b86e312c..151c793c21ee3445fdaf36b9eaf5873f6f3ebd3e 100644 (file)
@@ -7,6 +7,7 @@
 #ifndef ModelAPI_AttributeValidator_H
 #define ModelAPI_AttributeValidator_H
 
+#include <ModelAPI.h>
 #include <ModelAPI_Attribute.h>
 #include <ModelAPI_Validator.h>
 
@@ -22,7 +23,7 @@ public:
   virtual bool isValid(const AttributePtr& theAttribute,
                        const std::list<std::string>& theArguments) const = 0;
 
-  ~ModelAPI_AttributeValidator();
+  MODELAPI_EXPORT ~ModelAPI_AttributeValidator();
 };
 
 #endif