summaryrefslogtreecommitdiffstats
path: root/src/engine/events/SendPortValue.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-23 18:45:26 +0000
committerDavid Robillard <d@drobilla.net>2010-02-23 18:45:26 +0000
commit784dc03a78dc338b45111ebdca45371dfaaa6fa9 (patch)
treef4ff924374bb05fb6ef6c824ca3b61135956c9ec /src/engine/events/SendPortValue.hpp
parentca809494991686b253679ecf0c0b8b4bf48aa22d (diff)
downloadingen-784dc03a78dc338b45111ebdca45371dfaaa6fa9.tar.gz
ingen-784dc03a78dc338b45111ebdca45371dfaaa6fa9.tar.bz2
ingen-784dc03a78dc338b45111ebdca45371dfaaa6fa9.zip
Fix various code issues discovered by cppcheck.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2484 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/events/SendPortValue.hpp')
-rw-r--r--src/engine/events/SendPortValue.hpp3
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();