mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Clean up Overlay and PeerFinder sources:
* Tidy up identifiers and declarations * Merge PeerFinder headers into one file * Merge handout classes and functions into one file
This commit is contained in:
@@ -539,7 +539,7 @@ OverlayImpl::getActivePeers ()
|
||||
|
||||
ret.reserve (m_publicKeyMap.size ());
|
||||
|
||||
BOOST_FOREACH (PeerByPublicKey::value_type const& pair, m_publicKeyMap)
|
||||
for (auto const& pair : m_publicKeyMap)
|
||||
{
|
||||
assert (pair.second);
|
||||
ret.push_back (pair.second);
|
||||
|
||||
Reference in New Issue
Block a user