From 8aa0908635f255e2d533539d5330b92b62dc88ba Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 15 Dec 2009 23:49:55 +0100 Subject: all news converted to nothrow variant --- src/zmq.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/zmq.cpp') diff --git a/src/zmq.cpp b/src/zmq.cpp index 3497fe1..d523036 100644 --- a/src/zmq.cpp +++ b/src/zmq.cpp @@ -208,8 +208,8 @@ void *zmq_init (int app_threads_, int io_threads_, int flags_) return NULL; } - zmq::dispatcher_t *dispatcher = new zmq::dispatcher_t (app_threads_, - io_threads_, flags_); + zmq::dispatcher_t *dispatcher = new (std::nothrow) zmq::dispatcher_t ( + app_threads_, io_threads_, flags_); zmq_assert (dispatcher); return (void*) dispatcher; } -- cgit v1.2.3