summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/parameter/bool.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/live_effects/parameter/bool.h b/src/live_effects/parameter/bool.h
index 400f8cc47..3bf839af8 100644
--- a/src/live_effects/parameter/bool.h
+++ b/src/live_effects/parameter/bool.h
@@ -38,6 +38,9 @@ public:
bool get_value() { return value; };
+ inline operator bool()
+ { return value; };
+
private:
BoolParam(const BoolParam&);
BoolParam& operator=(const BoolParam&);