Salome HOME
Remove dependency on boost
[modules/shaper.git] / src / ModelHighAPI / ModelHighAPI_Integer.h
index 7650b125644b7abc36923c9ac377f7f2a36ff42d..9d7758fbd26e9029229dd707a19706a02f153865 100644 (file)
@@ -12,8 +12,6 @@
 
 #include <memory>
 #include <string>
-
-#include <boost/variant.hpp>
 //--------------------------------------------------------------------------------------
 class ModelAPI_AttributeInteger;
 //--------------------------------------------------------------------------------------
@@ -42,7 +40,9 @@ public:
   virtual void fillAttribute(const std::shared_ptr<ModelAPI_AttributeInteger> & theAttribute) const;
 
 private:
-  boost::variant<int, std::string> myValue;
+  enum VariantType { VT_INT, VT_STRING } myVariantType;
+  int myInt;
+  std::string myString;
 };
 
 //--------------------------------------------------------------------------------------