summaryrefslogtreecommitdiff
path: root/src/io_thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/io_thread.cpp')
-rw-r--r--src/io_thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io_thread.cpp b/src/io_thread.cpp
index e9f9aa5..b38f58c 100644
--- a/src/io_thread.cpp
+++ b/src/io_thread.cpp
@@ -76,7 +76,7 @@ void zmq::io_thread_t::in_event ()
// Process all the commands from the thread that sent the signal.
command_t cmd;
- while (dispatcher->read (signal, thread_slot, &cmd))
+ while (get_dispatcher ()->read (signal, get_thread_slot (), &cmd))
cmd.destination->process_command (cmd);
}
}