From: mzn Date: Tue, 31 Jul 2018 07:57:56 +0000 (+0300) Subject: Provide non-empty id in order that it differs from FeaturesAPI_RevolutionBoolean id. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9738ca9d83e86e478a062889786f4d8f62826000;p=modules%2Fshaper.git Provide non-empty id in order that it differs from FeaturesAPI_RevolutionBoolean id. --- diff --git a/src/SketchAPI/SketchAPI_Constraint.h b/src/SketchAPI/SketchAPI_Constraint.h index 8f79cca41..2ad165065 100644 --- a/src/SketchAPI/SketchAPI_Constraint.h +++ b/src/SketchAPI/SketchAPI_Constraint.h @@ -46,8 +46,8 @@ public: static std::string ID() { - static const std::string DUMMY; - return DUMMY; + static const std::string MY_SKETCH_CONSTRAINT_ID = "SketchConstraint"; + return MY_SKETCH_CONSTRAINT_ID; } virtual std::string getID() { return ID(); }