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:
Vinnie Falco
2014-08-28 14:57:40 -07:00
parent db03ce939c
commit 5f59282ba1
28 changed files with 1837 additions and 1931 deletions

View File

@@ -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);