fix: warning: unused-lambda-capture

This commit is contained in:
tobtoht
2026-04-29 10:21:39 +02:00
parent 37e76ec135
commit 20f6f5f8bf
+1 -1
View File
@@ -1110,7 +1110,7 @@ namespace nodetool
MDEBUG("[node] sending stop signal"); MDEBUG("[node] sending stop signal");
for (auto& zone : m_network_zones) for (auto& zone : m_network_zones)
{ {
const auto close_all_connections = [&, this]() const auto close_all_connections = [&]()
{ {
std::list<boost::uuids::uuid> connection_ids; std::list<boost::uuids::uuid> connection_ids;
zone.second.m_net_server.get_config_object().foreach_connection([&](const p2p_connection_context& cntxt) { zone.second.m_net_server.get_config_object().foreach_connection([&](const p2p_connection_context& cntxt) {