We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b0db7b commit 7211adaCopy full SHA for 7211ada
src/qt/peertablemodel.cpp
@@ -63,7 +63,7 @@ class PeerTablePriv
63
#if QT_VERSION >= 0x040700
64
cachedNodeStats.reserve(vNodes.size());
65
#endif
66
- BOOST_FOREACH(CNode* pnode, vNodes)
+ foreach (CNode* pnode, vNodes)
67
{
68
CNodeCombinedStats stats;
69
stats.nodeStateStats.nMisbehavior = 0;
@@ -92,7 +92,7 @@ class PeerTablePriv
92
// build index map
93
mapNodeRows.clear();
94
int row = 0;
95
- BOOST_FOREACH(CNodeCombinedStats &stats, cachedNodeStats)
+ foreach (const CNodeCombinedStats& stats, cachedNodeStats)
96
mapNodeRows.insert(std::pair<NodeId, int>(stats.nodeStats.nodeid, row++));
97
}
98
0 commit comments