mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-27 11:06:52 +01:00
minor fixes
This commit is contained in:
@@ -191,8 +191,8 @@ zmq::socket_base_t *zmq::app_thread_t::create_socket (int type_)
|
|||||||
s = new (std::nothrow) downstream_t (this);
|
s = new (std::nothrow) downstream_t (this);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
// TODO: This should be EINVAL.
|
errno = EINVAL;
|
||||||
zmq_assert (false);
|
return NULL;
|
||||||
}
|
}
|
||||||
zmq_assert (s);
|
zmq_assert (s);
|
||||||
|
|
||||||
|
|||||||
@@ -29,10 +29,6 @@ namespace zmq
|
|||||||
|
|
||||||
class object_t
|
class object_t
|
||||||
{
|
{
|
||||||
// Repository of sessions needs to use caller's send_* functions
|
|
||||||
// when creating new session. TODO: Get rid of this dependency.
|
|
||||||
friend class socket_base_t;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
object_t (class dispatcher_t *dispatcher_, int thread_slot_);
|
object_t (class dispatcher_t *dispatcher_, int thread_slot_);
|
||||||
|
|||||||
Reference in New Issue
Block a user