From 531433248fbad49e2b8e9d90de9855f3ea9b2257 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 20 Jan 2013 19:01:23 +0300 Subject: Another part with FOR_EACH changes. --- src/gui/buydialog.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gui/buydialog.cpp') diff --git a/src/gui/buydialog.cpp b/src/gui/buydialog.cpp index 24ac63a00..e18b0965d 100644 --- a/src/gui/buydialog.cpp +++ b/src/gui/buydialog.cpp @@ -346,8 +346,7 @@ void BuyDialog::setVisible(bool visible) void BuyDialog::closeAll() { - for (DialogList::const_iterator it = instances.begin(), - it_end = instances.end(); it != it_end; ++it) + FOR_EACH (DialogList::const_iterator, it, instances) { if (*it) (*it)->close(); -- cgit v1.2.3-70-g09d2