diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-10-15 21:36:36 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-10-15 21:36:36 +0200 |
commit | 8d511f3c2486d22400cdd69c8d3640ee2d20aeff (patch) | |
tree | 664d762cfb275c55ea887fe7161bee9401263007 /src/cryptonote_protocol/cryptonote_protocol_handler.inl | |
parent | Merge pull request #2658 (diff) | |
parent | Fix compiler warnings with Clang 6.0.0. (diff) | |
download | monero-8d511f3c2486d22400cdd69c8d3640ee2d20aeff.tar.xz |
Merge pull request #2601
4d35ad76 Fix compiler warnings with Clang 6.0.0. (Vasil Dimov)
Diffstat (limited to 'src/cryptonote_protocol/cryptonote_protocol_handler.inl')
-rw-r--r-- | src/cryptonote_protocol/cryptonote_protocol_handler.inl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_handler.inl b/src/cryptonote_protocol/cryptonote_protocol_handler.inl index 0d9178ac8..d16e5d7e5 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_handler.inl +++ b/src/cryptonote_protocol/cryptonote_protocol_handler.inl @@ -1632,7 +1632,7 @@ skip: // sort peers between fluffy ones and others std::list<boost::uuids::uuid> fullConnections, fluffyConnections; - m_p2p->for_each_connection([this, &arg, &fluffy_arg, &exclude_context, &fullConnections, &fluffyConnections](connection_context& context, nodetool::peerid_type peer_id, uint32_t support_flags) + m_p2p->for_each_connection([this, &exclude_context, &fullConnections, &fluffyConnections](connection_context& context, nodetool::peerid_type peer_id, uint32_t support_flags) { if (peer_id && exclude_context.m_connection_id != context.m_connection_id) { |