]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Provide non-empty id in order that it differs from FeaturesAPI_RevolutionBoolean id.
authormzn <mzn@opencascade.com>
Tue, 31 Jul 2018 07:57:56 +0000 (10:57 +0300)
committermzn <mzn@opencascade.com>
Tue, 31 Jul 2018 07:57:56 +0000 (10:57 +0300)
src/SketchAPI/SketchAPI_Constraint.h

index 8f79cca41f8f79a91bda4b985d57ca91ba52b72c..2ad1650650635f2ec363d3bc1b2dc98c2be918a7 100644 (file)
@@ -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(); }