summaryrefslogtreecommitdiff
path: root/src/object.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object.hpp')
-rw-r--r--src/object.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/object.hpp b/src/object.hpp
index 02a071a..31c8c40 100644
--- a/src/object.hpp
+++ b/src/object.hpp
@@ -30,6 +30,10 @@ namespace zmq
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:
object_t (class dispatcher_t *dispatcher_, int thread_slot_);