From ef59716bfab870d3193fa9670f2cacc3cca39595 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Thu, 17 Jan 2013 19:23:15 +0100 Subject: const methods (bzr r12037) --- src/live_effects/parameter/bool.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/live_effects/parameter/bool.h') diff --git a/src/live_effects/parameter/bool.h b/src/live_effects/parameter/bool.h index d7aa299aa..fafb1beca 100644 --- a/src/live_effects/parameter/bool.h +++ b/src/live_effects/parameter/bool.h @@ -36,10 +36,9 @@ public: void param_setValue(bool newvalue); virtual void param_set_default(); - bool get_value() { return value; }; + bool get_value() const { return value; }; - inline operator bool() - { return value; }; + inline operator bool() const { return value; }; private: BoolParam(const BoolParam&); -- cgit v1.2.3