Commit 589fa57a authored by Eric Cornelius's avatar Eric Cornelius

Corrects ypipe initialization when conflate is NOT enabled.

Fixes LIBZMQ-584
parent 526847b7
......@@ -481,10 +481,10 @@ void zmq::pipe_t::hiccup ()
// Create new inpipe.
if (conflate)
inpipe = new (std::nothrow)
ypipe_t <msg_t, message_pipe_granularity> ();
ypipe_conflate_t <msg_t, message_pipe_granularity> ();
else
inpipe = new (std::nothrow)
ypipe_conflate_t <msg_t> ();
ypipe_t <msg_t> ();
alloc_assert (inpipe);
in_active = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment