summaryrefslogtreecommitdiff
path: root/src/pull.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pull.cpp')
-rw-r--r--src/pull.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pull.cpp b/src/pull.cpp
index a8c2466..b9d4433 100644
--- a/src/pull.cpp
+++ b/src/pull.cpp
@@ -18,10 +18,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "../include/zmq.h"
-
#include "pull.hpp"
#include "err.hpp"
+#include "msg.hpp"
zmq::pull_t::pull_t (class ctx_t *parent_, uint32_t tid_) :
socket_base_t (parent_, tid_),
@@ -49,7 +48,7 @@ void zmq::pull_t::process_term (int linger_)
socket_base_t::process_term (linger_);
}
-int zmq::pull_t::xrecv (zmq_msg_t *msg_, int flags_)
+int zmq::pull_t::xrecv (msg_t *msg_, int flags_)
{
return fq.recv (msg_, flags_);
}