summaryrefslogtreecommitdiff
path: root/src/xrep.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xrep.cpp')
-rw-r--r--src/xrep.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xrep.cpp b/src/xrep.cpp
index 7357967..1b6a536 100644
--- a/src/xrep.cpp
+++ b/src/xrep.cpp
@@ -70,26 +70,31 @@ int zmq::xrep_t::xsetsockopt (int option_, const void *optval_,
int zmq::xrep_t::xsend (zmq_msg_t *msg_, int flags_)
{
zmq_assert (false);
+ return -1;
}
int zmq::xrep_t::xflush ()
{
zmq_assert (false);
+ return -1;
}
int zmq::xrep_t::xrecv (zmq_msg_t *msg_, int flags_)
{
zmq_assert (false);
+ return -1;
}
bool zmq::xrep_t::xhas_in ()
{
zmq_assert (false);
+ return false;
}
bool zmq::xrep_t::xhas_out ()
{
zmq_assert (false);
+ return false;
}