summaryrefslogtreecommitdiff
path: root/src/gui/buydialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/buydialog.cpp')
-rw-r--r--src/gui/buydialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/buydialog.cpp b/src/gui/buydialog.cpp
index e1f99f5a..56c3c261 100644
--- a/src/gui/buydialog.cpp
+++ b/src/gui/buydialog.cpp
@@ -295,8 +295,8 @@ void BuyDialog::setVisible(bool visible)
void BuyDialog::closeAll()
{
- DialogList::iterator it = instances.begin();
- DialogList::iterator it_end = instances.end();
+ auto it = instances.begin();
+ auto it_end = instances.end();
for (; it != it_end; it++)
{