From 73fbc1b975ed5b227e9c4b9a88648ada6415662c Mon Sep 17 00:00:00 2001 From: cilix42 Date: Mon, 18 Aug 2008 00:32:01 +0000 Subject: [PATCH] cast for EnumParam --- src/live_effects/parameter/enum.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/live_effects/parameter/enum.h b/src/live_effects/parameter/enum.h index aec256f11..05f3bdd57 100644 --- a/src/live_effects/parameter/enum.h +++ b/src/live_effects/parameter/enum.h @@ -71,6 +71,9 @@ public: return value; } + inline operator E() + { return value; }; + void param_set_default() { param_set_value(defvalue); } -- 2.30.2