summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/bool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/parameter/bool.h')
-rw-r--r--src/live_effects/parameter/bool.h5
1 files changed, 2 insertions, 3 deletions
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&);