Salome HOME
Issue #412: Crash on delete sketch line with constraints
[modules/shaper.git] / src / ModelAPI / ModelAPI_AttributeBoolean.h
index d7b9bac82db182c08b7b17aa23012445f6fd193d..122ffa70fdf700a67eb5c653e32a94005ca3da9e 100644 (file)
@@ -30,21 +30,14 @@ class ModelAPI_AttributeBoolean : public ModelAPI_Attribute
   }
 
   /// Returns the type of this class of attributes, not static method
-  MODELAPI_EXPORT virtual std::string attributeType()
-  {
-    return type();
-  }
+  MODELAPI_EXPORT virtual std::string attributeType();
 
   /// To virtually destroy the fields of successors
-  MODELAPI_EXPORT virtual ~ModelAPI_AttributeBoolean()
-  {
-  }
+  MODELAPI_EXPORT virtual ~ModelAPI_AttributeBoolean();
 
  protected:
   /// Objects are created for features automatically
-  MODELAPI_EXPORT ModelAPI_AttributeBoolean()
-  {
-  }
+  MODELAPI_EXPORT ModelAPI_AttributeBoolean();
 };
 
 typedef std::shared_ptr<ModelAPI_AttributeBoolean> AttributeBooleanPtr;