summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorunknown <bundra@.(none)>2009-12-13 14:59:25 +0100
committerunknown <bundra@.(none)>2009-12-13 14:59:25 +0100
commit0637e06387ac0676e9595246eb60a6809664b01a (patch)
tree7c5f5b7304c966961881b85a4e3480d4ebd77352 /src
parentfa6bf24d8030b0e54fd25b167064482e4cf08a36 (diff)
zmq_streamer & zmq_queue are built under MSVC
Diffstat (limited to 'src')
-rw-r--r--src/xrep.cpp5
-rw-r--r--src/xreq.cpp5
2 files changed, 10 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;
}
diff --git a/src/xreq.cpp b/src/xreq.cpp
index b404779..d359dc0 100644
--- a/src/xreq.cpp
+++ b/src/xreq.cpp
@@ -70,26 +70,31 @@ int zmq::xreq_t::xsetsockopt (int option_, const void *optval_,
int zmq::xreq_t::xsend (zmq_msg_t *msg_, int flags_)
{
zmq_assert (false);
+ return -1;
}
int zmq::xreq_t::xflush ()
{
zmq_assert (false);
+ return -1;
}
int zmq::xreq_t::xrecv (zmq_msg_t *msg_, int flags_)
{
zmq_assert (false);
+ return -1;
}
bool zmq::xreq_t::xhas_in ()
{
zmq_assert (false);
+ return false;
}
bool zmq::xreq_t::xhas_out ()
{
zmq_assert (false);
+ return false;
}