mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-03-02 20:30:14 +01:00
call the correct function
This commit is contained in:
parent
f51fa9695a
commit
36b6053f92
4
zmq.hpp
4
zmq.hpp
@ -2744,8 +2744,8 @@ template<typename T = no_user_data> class poller_t
|
|||||||
void add_impl(fd_t fd, event_flags events, T *user_data)
|
void add_impl(fd_t fd, event_flags events, T *user_data)
|
||||||
{
|
{
|
||||||
if (0
|
if (0
|
||||||
!= zmq_poller_add(poller_ptr.get(), fd, user_data,
|
!= zmq_poller_add_fd(poller_ptr.get(), fd, user_data,
|
||||||
static_cast<short>(events))) {
|
static_cast<short>(events))) {
|
||||||
throw error_t();
|
throw error_t();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user