Skip to content

Commit 77b55a2

Browse files
committed
Merge pull request #32 from madevgeny/master
Fixed assert on Win8.1. Thanks to jonwfreeman.
2 parents b4b7d9f + 2658780 commit 77b55a2

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
@@ -254,7 +254,7 @@ namespace zmq
254254
}
255255

256256

257-
inline explicit context_t (int io_threads_, int max_sockets_ = 1024)
257+
inline explicit context_t (int io_threads_, int max_sockets_ = ZMQ_MAX_SOCKETS_DFLT)
258258
{
259259
ptr = zmq_ctx_new ();
260260
if (ptr == NULL)

0 commit comments

Comments
 (0)