diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:04:30 +0900 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:04:30 +0900 |
commit | 35797d6c69032fc9eaa472c501b7fbba8e388026 (patch) | |
tree | e2405b4d548078506fd80fcf2171d0988d0da561 /src/epoll.cpp | |
parent | 746cabf4868ff4b9bf46e01a16b43943c8e9454c (diff) |
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 <sustrik@250bpm.com>
Diffstat (limited to 'src/epoll.cpp')
-rw-r--r-- | src/epoll.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/epoll.cpp b/src/epoll.cpp index 354ccc4..83d9b77 100644 --- a/src/epoll.cpp +++ b/src/epoll.cpp @@ -51,7 +51,7 @@ xs::epoll_t::~epoll_t () delete *it; } -xs::epoll_t::handle_t xs::epoll_t::add_fd (fd_t fd_, i_poll_events *events_) +xs::handle_t xs::epoll_t::add_fd (fd_t fd_, i_poll_events *events_) { poll_entry_t *pe = new (std::nothrow) poll_entry_t; alloc_assert (pe); |