summaryrefslogtreecommitdiff
path: root/src/gui/skill.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/skill.cpp')
-rw-r--r--src/gui/skill.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/skill.cpp b/src/gui/skill.cpp
index 6cc7a294..49037cbd 100644
--- a/src/gui/skill.cpp
+++ b/src/gui/skill.cpp
@@ -21,8 +21,6 @@
* $Id$
*/
-#include <algorithm>
-
#include <guichan/widgets/label.hpp>
#include <guichan/widgets/container.hpp>
#include <guichan/widgets/icon.hpp>
@@ -78,7 +76,7 @@ SkillDialog::SkillDialog():
SkillDialog::~SkillDialog()
{
- for_each(mTabs.begin(), mTabs.end(), make_dtor(mTabs));
+ delete_all(mTabs);
}
void SkillDialog::action(const gcn::ActionEvent &event)