Skip to content

Commit 36b6053

Browse files
committed
call the correct function
1 parent f51fa96 commit 36b6053

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zmq.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2744,8 +2744,8 @@ template<typename T = no_user_data> class poller_t
27442744
void add_impl(fd_t fd, event_flags events, T *user_data)
27452745
{
27462746
if (0
2747-
!= zmq_poller_add(poller_ptr.get(), fd, user_data,
2748-
static_cast<short>(events))) {
2747+
!= zmq_poller_add_fd(poller_ptr.get(), fd, user_data,
2748+
static_cast<short>(events))) {
27492749
throw error_t();
27502750
}
27512751
}

0 commit comments

Comments
 (0)