summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/Dispatcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/client/Dispatcher.cpp')
-rw-r--r--cpp/src/qpid/client/Dispatcher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/client/Dispatcher.cpp b/cpp/src/qpid/client/Dispatcher.cpp
index 37f3941022..65756f6404 100644
--- a/cpp/src/qpid/client/Dispatcher.cpp
+++ b/cpp/src/qpid/client/Dispatcher.cpp
@@ -62,14 +62,14 @@ void Dispatcher::start()
void Dispatcher::run()
{
- sys::BlockingQueue<FrameSet::shared_ptr>& q = queue.empty() ?
+ Demux::QueuePtr q = queue.empty() ?
session.execution().getDemux().getDefault() :
session.execution().getDemux().get(queue);
startRunning();
stopped = false;
while (!isStopped()) {
- FrameSet::shared_ptr content = q.pop();
+ FrameSet::shared_ptr content = q->pop();
if (content->isA<MessageTransferBody>()) {
Message msg(*content);
Subscriber::shared_ptr listener = find(msg.getDestination());