summaryrefslogtreecommitdiff
path: root/src/xreq.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xreq.cpp')
-rw-r--r--src/xreq.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xreq.cpp b/src/xreq.cpp
index 59d3f39..bf288ee 100644
--- a/src/xreq.cpp
+++ b/src/xreq.cpp
@@ -86,7 +86,7 @@ bool zmq::xreq_t::xhas_in ()
return true;
// Try to read the next message to the pre-fetch buffer.
- int rc = xrecv (&prefetched_msg, ZMQ_DONTWAIT);
+ int rc = xreq_t::xrecv (&prefetched_msg, ZMQ_DONTWAIT);
if (rc != 0 && errno == EAGAIN)
return false;
zmq_assert (rc == 0);