Update pipe.cpp

This commit is contained in:
Eric Cornelius 2014-01-15 18:11:13 -05:00
parent 589fa57afa
commit 88a8be8231

View File

@ -481,10 +481,10 @@ void zmq::pipe_t::hiccup ()
// Create new inpipe.
if (conflate)
inpipe = new (std::nothrow)
ypipe_conflate_t <msg_t, message_pipe_granularity> ();
ypipe_conflate_t <msg_t> ();
else
inpipe = new (std::nothrow)
ypipe_t <msg_t> ();
ypipe_t <msg_t, message_pipe_granularity> ();
alloc_assert (inpipe);
in_active = true;