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 ca768f5..f819009 100644
--- a/src/io_thread.cpp
+++ b/src/io_thread.cpp
@@ -30,7 +30,7 @@ zmq::io_thread_t::io_thread_t (ctx_t *ctx_, uint32_t tid_) :
object_t (ctx_, tid_)
{
poller = new (std::nothrow) poller_t;
- zmq_assert (poller);
+ alloc_assert (poller);
mailbox_handle = poller->add_fd (mailbox.get_fd (), this);
poller->set_pollin (mailbox_handle);