From ed0642e308de1f8c00740da155e0828da4d20b4d Mon Sep 17 00:00:00 2001 From: wmayer Date: Thu, 31 May 2018 13:15:31 +0200 Subject: [PATCH] fix const correctness --- src/Mod/Sketcher/App/planegcs/Constraints.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Sketcher/App/planegcs/Constraints.h b/src/Mod/Sketcher/App/planegcs/Constraints.h index 49bbf095e3..559f3a2f01 100644 --- a/src/Mod/Sketcher/App/planegcs/Constraints.h +++ b/src/Mod/Sketcher/App/planegcs/Constraints.h @@ -112,7 +112,7 @@ namespace GCS int getTag() { return tag; } void setDriving(bool isdriving) { driving = isdriving; } - bool isDriving() { return driving; } + bool isDriving() const { return driving; } virtual ConstraintType getTypeId(); virtual void rescale(double coef=1.);