diff options
Diffstat (limited to 'src/engine/events/SendPortValue.hpp')
-rw-r--r-- | src/engine/events/SendPortValue.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/events/SendPortValue.hpp b/src/engine/events/SendPortValue.hpp index 8cbb3cbe..2b390832 100644 --- a/src/engine/events/SendPortValue.hpp +++ b/src/engine/events/SendPortValue.hpp @@ -58,11 +58,12 @@ public: { } - inline void operator=(const SendPortValue& ev) { + inline SendPortValue& operator=(const SendPortValue& ev) { _port = ev._port; _omni = ev._omni; _voice_num = ev._voice_num; _value = ev._value; + return *this; } void post_process(); |