From 35797d6c69032fc9eaa472c501b7fbba8e388026 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 16 Feb 2012 10:04:30 +0900 Subject: Polling handle is a fixed type now. Polling handle type was previously dependent on polling mechanism used. Now it is void* in all cases. This patch is a first step in the long way to separate the transports from the core library. Signed-off-by: Martin Sustrik --- src/io_object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/io_object.cpp') diff --git a/src/io_object.cpp b/src/io_object.cpp index 0424c63..8c4f2fe 100644 --- a/src/io_object.cpp +++ b/src/io_object.cpp @@ -52,7 +52,7 @@ void xs::io_object_t::unplug () poller = NULL; } -xs::io_object_t::handle_t xs::io_object_t::add_fd (fd_t fd_) +xs::handle_t xs::io_object_t::add_fd (fd_t fd_) { return poller->add_fd (fd_, this); } -- cgit v1.2.3