summaryrefslogtreecommitdiff
path: root/src/xrep.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xrep.hpp')
-rw-r--r--src/xrep.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xrep.hpp b/src/xrep.hpp
index d8723db..e5ab895 100644
--- a/src/xrep.hpp
+++ b/src/xrep.hpp
@@ -37,6 +37,7 @@ namespace xs
class ctx_t;
class pipe_t;
+ class poller_base_t;
// TODO: This class uses O(n) scheduling. Rewrite it to use O(1) algorithm.
class xrep_t :
@@ -108,7 +109,7 @@ namespace xs
{
public:
- xrep_session_t (xs::io_thread_t *io_thread_, bool connect_,
+ xrep_session_t (xs::poller_base_t *io_thread_, bool connect_,
socket_base_t *socket_, const options_t &options_,
const char *protocol_, const char *address_);
~xrep_session_t ();