From cab0602dbf4750a1705d2eb7d5dac87cfbc42609 Mon Sep 17 00:00:00 2001 From: Marcin Gibula Date: Mon, 14 May 2018 22:36:49 +0200 Subject: [PATCH] Forgot to set ChannelImpl::_confirm --- src/channelimpl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/channelimpl.cpp b/src/channelimpl.cpp index 7e79149..c024bc7 100644 --- a/src/channelimpl.cpp +++ b/src/channelimpl.cpp @@ -193,13 +193,13 @@ DeferredConfirm &ChannelImpl::confirmSelect() ConfirmSelectFrame frame(_id); // send the frame, and create deferred object - auto deferred = std::make_shared(!send(frame)); + _confirm = std::make_shared(!send(frame)); // push to list - push(deferred); + push(_confirm); // done - return *deferred; + return *_confirm; } /**