client Builders allow default ctor

simplify handling of Builders
This commit is contained in:
Michael Davidsaver
2020-07-25 10:58:22 -07:00
parent 2d475eed74
commit 64400c5050
4 changed files with 23 additions and 2 deletions
+3
View File
@@ -504,6 +504,9 @@ void Connection::handle_MONITOR()
std::shared_ptr<Subscription> MonitorBuilder::exec()
{
if(!ctx)
throw std::logic_error("NULL Builder");
std::shared_ptr<Subscription> ret;
ctx->tcp_loop.call([&ret, this]() {