Salome HOME
Icons size correction to be 16x16
[modules/shaper.git] / src / GeomValidators / GeomValidators_Positive.cpp
index d2261b357c0686c12959376d395498d26fc77579..58964c04f985a1ce4f9afc8bedd3c83f8ebc6926 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        GeomValidators_ValidatorPositive.cpp
 // Created:     16 Sep 2014
 // Author:      Mikhail PONIKAROV
@@ -21,7 +23,7 @@ GeomValidators_Positive::GeomValidators_Positive()
 bool GeomValidators_Positive::isValid(
     const AttributePtr& theAttribute, const std::list<std::string>& theArguments) const
 {
-  boost::shared_ptr<ModelAPI_AttributeDouble> aDouble = 
-    boost::dynamic_pointer_cast<ModelAPI_AttributeDouble>(theAttribute);
+  std::shared_ptr<ModelAPI_AttributeDouble> aDouble = 
+    std::dynamic_pointer_cast<ModelAPI_AttributeDouble>(theAttribute);
   return aDouble->isInitialized() && aDouble->value() > 1.e-5;
 }