diff --git a/src/clientmon.cpp b/src/clientmon.cpp index b76ce6b..cd89d46 100644 --- a/src/clientmon.cpp +++ b/src/clientmon.cpp @@ -575,6 +575,7 @@ std::shared_ptr MonitorBuilder::exec() auto op(std::make_shared(context->tcp_loop)); op->self = op; + op->channelName = _name; op->event = std::move(_event); op->onInit = std::move(_onInit); op->pvRequest = _buildReq(); diff --git a/src/pvxs/util.h b/src/pvxs/util.h index 5f5f963..182a6b0 100644 --- a/src/pvxs/util.h +++ b/src/pvxs/util.h @@ -113,7 +113,7 @@ class SigInt { const std::function handler; public: SigInt(std::function&& handler) :handler(std::move(handler)) {} -} +}; #endif // !defined(__rtems__) && !defined(vxWorks)