Skip to content

Commit 7211ada

Browse files
author
Philip Kaufmann
committed
[Qt] replace Boost foreach with Qt version peertablemodel.cpp
1 parent 1b0db7b commit 7211ada

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/qt/peertablemodel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class PeerTablePriv
6363
#if QT_VERSION >= 0x040700
6464
cachedNodeStats.reserve(vNodes.size());
6565
#endif
66-
BOOST_FOREACH(CNode* pnode, vNodes)
66+
foreach (CNode* pnode, vNodes)
6767
{
6868
CNodeCombinedStats stats;
6969
stats.nodeStateStats.nMisbehavior = 0;
@@ -92,7 +92,7 @@ class PeerTablePriv
9292
// build index map
9393
mapNodeRows.clear();
9494
int row = 0;
95-
BOOST_FOREACH(CNodeCombinedStats &stats, cachedNodeStats)
95+
foreach (const CNodeCombinedStats& stats, cachedNodeStats)
9696
mapNodeRows.insert(std::pair<NodeId, int>(stats.nodeStats.nodeid, row++));
9797
}
9898

0 commit comments

Comments
 (0)