keep _monitor_socket as private member

This commit is contained in:
Stefan Dietel
2023-08-25 16:26:41 +02:00
parent 2dcab86425
commit d8ab66a7af
2 changed files with 3 additions and 2 deletions

View File

@@ -172,7 +172,7 @@ TEST_CASE("poll monitor events using active poller", "[monitor]")
void addToPoller(zmq::active_poller_t &inActivePoller)
{
inActivePoller.add(
_monitor_socket, zmq::event_flags::pollin,
monitor_socket(), zmq::event_flags::pollin,
[&](zmq::event_flags ef) { process_event(static_cast<short>(ef)); });
}