Skip to content

Commit a1000a0

Browse files
FrankAdesysbluca
authored andcommitted
Fix compile error for libzmq 4.2.1 and 4.2.2 (#161)
* Fix compile error for libzmq 4.2.1 and 4.2.2 When defined ZMQ_BUILD_DRAFT_API=1, you receive an error "'on_event_handshake_succeeded' was not declared in this scope"... which is correct for versions 4.2.1 and 4.2.2. Function was renamed from 'on_event_handshake_succeed', fixed this by updating the function name.
1 parent 98fa1f4 commit a1000a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zmq.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ namespace zmq
872872
on_event_handshake_failed(*event, address.c_str());
873873
break;
874874
case ZMQ_EVENT_HANDSHAKE_SUCCEED:
875-
on_event_handshake_succeeded(*event, address.c_str());
875+
on_event_handshake_succeed(*event, address.c_str());
876876
break;
877877
#endif
878878
#endif

0 commit comments

Comments
 (0)