diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-12-15 23:49:55 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-12-15 23:49:55 +0100 |
commit | 8aa0908635f255e2d533539d5330b92b62dc88ba (patch) | |
tree | f72f8dc99463cb0e56213dbde735ed585986cbfb /src/zmq.cpp | |
parent | 2cef05d86976784f4bc1083cb0fa548e267ac132 (diff) |
all news converted to nothrow variant
Diffstat (limited to 'src/zmq.cpp')
-rw-r--r-- | src/zmq.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |