From 50a8b9ea0c4a819073b46449dee8fc839b837ae5 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sun, 20 Sep 2009 10:14:21 +0200 Subject: 'flags' parameter added to zmq_init --- bindings/cpp/zmq.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bindings/cpp') diff --git a/bindings/cpp/zmq.hpp b/bindings/cpp/zmq.hpp index 471d1d8..a9e63b5 100644 --- a/bindings/cpp/zmq.hpp +++ b/bindings/cpp/zmq.hpp @@ -180,9 +180,9 @@ namespace zmq public: - inline context_t (int app_threads_, int io_threads_) + inline context_t (int app_threads_, int io_threads_, int flags_ = 0) { - ptr = zmq_init (app_threads_, io_threads_); + ptr = zmq_init (app_threads_, io_threads_, flags_); if (ptr == NULL) throw error_t (); } -- cgit v1.2.3