Salome HOME
Issue #698 - Distance constraint on circle - crash
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ConstraintDistance.h
index 370519bdaec0aa043ebcc832fbff05f2c45e905d..a1e315d2bc0246a0a75b8b7fec4d8aff02847b8f 100644 (file)
@@ -68,7 +68,7 @@ class SketchPlugin_ConstraintDistance : public SketchPlugin_ConstraintBase, publ
   SKETCHPLUGIN_EXPORT virtual void attributeChanged(const std::string& theID);
 
   /// Returns the current distance between the feature attributes
-  double calculateCurrentDistance() const;
+  double calculateCurrentDistance();
 
     /// Customize presentation of the feature
   virtual bool customisePresentation(ResultPtr theResult, AISObjectPtr thePrs,