summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabbedarea.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabbedarea.cpp')
-rw-r--r--src/gui/widgets/tabbedarea.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp
index 5896af304..96e81b534 100644
--- a/src/gui/widgets/tabbedarea.cpp
+++ b/src/gui/widgets/tabbedarea.cpp
@@ -167,8 +167,8 @@ void TabbedArea::removeTab(gcn::Tab *tab)
tabIndexToBeSelected = index - 1;
}
- TabContainer::iterator iter;
- for (iter = mTabs.begin(); iter != mTabs.end(); ++iter)
+ for (TabContainer::iterator iter = mTabs.begin();
+ iter != mTabs.end(); ++iter)
{
if (iter->first == tab)
{
@@ -178,8 +178,8 @@ void TabbedArea::removeTab(gcn::Tab *tab)
}
}
- std::vector<gcn::Tab*>::iterator iter2;
- for (iter2 = mTabsToDelete.begin(); iter2 != mTabsToDelete.end(); ++iter2)
+ for (std::vector<gcn::Tab*>::iterator iter2 = mTabsToDelete.begin();
+ iter2 != mTabsToDelete.end(); ++iter2)
{
if (*iter2 == tab)
{