aboutsummaryrefslogtreecommitdiff
path: root/src/qt/peertablemodel.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2015-06-01 11:39:52 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2015-06-11 08:38:02 +0200
commit7211adad85275db24835bb877a29b28adcf06f62 (patch)
treedf908a4fd1dac71c8f164a51a98b7f5923214f43 /src/qt/peertablemodel.cpp
parent1b0db7b984c49f40cf95c6f685c3c5c790f07606 (diff)
downloadbitcoin-7211adad85275db24835bb877a29b28adcf06f62.tar.xz
[Qt] replace Boost foreach with Qt version peertablemodel.cpp
Diffstat (limited to 'src/qt/peertablemodel.cpp')
-rw-r--r--src/qt/peertablemodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/peertablemodel.cpp b/src/qt/peertablemodel.cpp
index 06403734e9..f5904a4d8e 100644
--- a/src/qt/peertablemodel.cpp
+++ b/src/qt/peertablemodel.cpp
@@ -63,7 +63,7 @@ public:
#if QT_VERSION >= 0x040700
cachedNodeStats.reserve(vNodes.size());
#endif
- BOOST_FOREACH(CNode* pnode, vNodes)
+ foreach (CNode* pnode, vNodes)
{
CNodeCombinedStats stats;
stats.nodeStateStats.nMisbehavior = 0;
@@ -92,7 +92,7 @@ public:
// build index map
mapNodeRows.clear();
int row = 0;
- BOOST_FOREACH(CNodeCombinedStats &stats, cachedNodeStats)
+ foreach (const CNodeCombinedStats& stats, cachedNodeStats)
mapNodeRows.insert(std::pair<NodeId, int>(stats.nodeStats.nodeid, row++));
}