diff options
Diffstat (limited to 'src/engine/MessageContext.cpp')
-rw-r--r-- | src/engine/MessageContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/MessageContext.cpp b/src/engine/MessageContext.cpp index eec5acaa..ec0fedbf 100644 --- a/src/engine/MessageContext.cpp +++ b/src/engine/MessageContext.cpp @@ -118,7 +118,7 @@ MessageContext::execute(const Request& req) lv2_contexts_port_is_valid(valid_ports, i)) { PatchImpl::Connections& wires = patch->connections(); for (PatchImpl::Connections::iterator c = wires.begin(); c != wires.end(); ++c) { - ConnectionImpl* ci = dynamic_cast<ConnectionImpl*>(c->get()); + ConnectionImpl* ci = (ConnectionImpl*)c->second.get(); if (ci->src_port() == p && ci->dst_port()->context() == Context::MESSAGE) { _queue.insert(Request(req.time, ci->dst_port())); } |