diff options
| author | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:04:42 +0900 |
|---|---|---|
| committer | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:04:42 +0900 |
| commit | 7e4fa8505f479c494b9e7bab361e4a11e1c579a5 (patch) | |
| tree | 90016499b28b113b35b15eb6656b739c1389336b /src/io_object.hpp | |
| parent | d3752a38faa25f2f213c638e4c236533eff72b70 (diff) | |
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 <sustrik@250bpm.com>
Diffstat (limited to 'src/io_object.hpp')
| -rw-r--r-- | src/io_object.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/io_object.hpp b/src/io_object.hpp index 4494a34..4bce10c 100644 --- a/src/io_object.hpp +++ b/src/io_object.hpp @@ -25,7 +25,7 @@ #include <stddef.h> #include "stdint.hpp" -#include "poller.hpp" +#include "poller_base.hpp" #include "i_poll_events.hpp" namespace xs @@ -68,7 +68,7 @@ namespace xs private: - poller_t *poller; + poller_base_t *poller; io_object_t (const io_object_t&); const io_object_t &operator = (const io_object_t&); |
