Commit 22655d05 authored by Pieter Hintjens's avatar Pieter Hintjens

Merge pull request #827 from EricMCornelius/master

Corrects ypipe initialization when conflate is NOT enabled.
parents 526847b7 88a8be82
......@@ -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> ();
else
inpipe = new (std::nothrow)
ypipe_conflate_t <msg_t> ();
ypipe_t <msg_t, message_pipe_granularity> ();
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