summaryrefslogtreecommitdiff
path: root/src/io_object.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/io_object.hpp')
-rw-r--r--src/io_object.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/io_object.hpp b/src/io_object.hpp
index bf7a625..689b221 100644
--- a/src/io_object.hpp
+++ b/src/io_object.hpp
@@ -31,6 +31,8 @@
namespace zmq
{
+ class io_thread_t;
+
// Simple base class for objects that live in I/O threads.
// It makes communication with the poller object easier and
// makes defining unneeded event handlers unnecessary.
@@ -39,12 +41,12 @@ namespace zmq
{
public:
- io_object_t (class io_thread_t *io_thread_ = NULL);
+ io_object_t (zmq::io_thread_t *io_thread_ = NULL);
~io_object_t ();
// When migrating an object from one I/O thread to another, first
// unplug it, then migrate it, then plug it to the new thread.
- void plug (class io_thread_t *io_thread_);
+ void plug (zmq::io_thread_t *io_thread_);
void unplug ();
protected: