From 7e4fa8505f479c494b9e7bab361e4a11e1c579a5 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 16 Feb 2012 10:04:42 +0900 Subject: poller_base_t is used instead of poller_t Poller object is virtualised. You can access poller via its base class (poller_base_t) instead of using poller_t which was a typedef pointing to actual derived class. Signed-off-by: Martin Sustrik --- src/reaper.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/reaper.hpp') diff --git a/src/reaper.hpp b/src/reaper.hpp index 3310145..805916f 100644 --- a/src/reaper.hpp +++ b/src/reaper.hpp @@ -23,7 +23,7 @@ #include "object.hpp" #include "mailbox.hpp" -#include "poller.hpp" +#include "poller_base.hpp" #include "i_poll_events.hpp" namespace xs @@ -63,7 +63,7 @@ namespace xs handle_t mailbox_handle; // I/O multiplexing is performed using a poller object. - poller_t *poller; + poller_base_t *poller; // Number of sockets being reaped at the moment. int sockets; -- cgit v1.2.3