From 2744e4fa8f39cd06bfe557a5a3881830bd11501c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 20 Jan 2013 20:43:54 +0300 Subject: Last part with FOR_EACH changes. --- src/resources/itemdb.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/resources/itemdb.cpp') diff --git a/src/resources/itemdb.cpp b/src/resources/itemdb.cpp index 5d8083374..5fd0da97b 100644 --- a/src/resources/itemdb.cpp +++ b/src/resources/itemdb.cpp @@ -326,8 +326,7 @@ void ItemDB::load() effect += " / "; effect += strprintf(gettext(fields[i][1]), value); } - for (std::vector::const_iterator it = extraStats.begin(), - it_end = extraStats.end(); it != it_end; ++it) + FOR_EACH (std::vector::const_iterator, it, extraStats) { const int value = XML::getProperty(node, it->tag.c_str(), 0); if (!value) -- cgit v1.2.3-70-g09d2