mirror of
https://github.com/wownero/wownero.git
synced 2026-11-19 07:03:55 +01:00
fix: warning: unused-lambda-capture
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user