summaryrefslogtreecommitdiff
path: root/libs/midi++2/parser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/midi++2/parser.cc')
-rw-r--r--libs/midi++2/parser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/midi++2/parser.cc b/libs/midi++2/parser.cc
index 4f19c40ebe..2efa77ae0b 100644
--- a/libs/midi++2/parser.cc
+++ b/libs/midi++2/parser.cc
@@ -316,7 +316,7 @@ Parser::trace (bool onoff, ostream *o, const string &prefix)
cerr << "enabling tracing for port " << _port.name() << endl;
trace_stream = o;
trace_prefix = prefix;
- trace_connection = any.connect (boost::bind (&Parser::trace_event, this, _1, _2, _3));
+ any.connect (trace_connection, boost::bind (&Parser::trace_event, this, _1, _2, _3));
} else {
trace_prefix = "";
trace_stream = 0;