diff options
author | Miguel Herranz <miguel@ipglider.org> | 2017-01-22 21:38:10 +0100 |
---|---|---|
committer | Miguel Herranz <miguel@ipglider.org> | 2017-01-22 21:38:10 +0100 |
commit | 629e3101ab54edfcadc42c6f3d7ea9c4fa3f9a93 (patch) | |
tree | f97194d4084995eda8bb10fd776881c49e1d9d88 /src/p2p/net_peerlist.h | |
parent | Merge pull request #1608 (diff) | |
download | monero-629e3101ab54edfcadc42c6f3d7ea9c4fa3f9a93.tar.xz |
Replace BOOST_FOREACH with C++11 ranged for
Diffstat (limited to 'src/p2p/net_peerlist.h')
-rw-r--r-- | src/p2p/net_peerlist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p2p/net_peerlist.h b/src/p2p/net_peerlist.h index 4797eb82b..e9c31605d 100644 --- a/src/p2p/net_peerlist.h +++ b/src/p2p/net_peerlist.h @@ -230,7 +230,7 @@ namespace nodetool bool peerlist_manager::merge_peerlist(const std::list<peerlist_entry>& outer_bs) { CRITICAL_REGION_LOCAL(m_peerlist_lock); - BOOST_FOREACH(const peerlist_entry& be, outer_bs) + for(const peerlist_entry& be: outer_bs) { append_with_peer_gray(be); } |