summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-12-08 20:58:10 +0100
committerIra Rice <irarice@gmail.com>2008-12-08 13:48:10 -0700
commit48c3263aa2540cd895b72edb0337e0717e136e3a (patch)
treef5b93df0b4bf209e73876161c30ef5fe4a00ff3b /src/gui
parent81cdc7b2d880f44df6e0a6de74183f36c53836a0 (diff)
downloadmana-client-48c3263aa2540cd895b72edb0337e0717e136e3a.tar.gz
mana-client-48c3263aa2540cd895b72edb0337e0717e136e3a.tar.bz2
mana-client-48c3263aa2540cd895b72edb0337e0717e136e3a.tar.xz
mana-client-48c3263aa2540cd895b72edb0337e0717e136e3a.zip
Code reformatting
I wish I had never fallen for this weird style, and I hope removing it will prevent others from introducing new code like this. :-)
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/tabbedcontainer.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/tabbedcontainer.cpp b/src/gui/tabbedcontainer.cpp
index 8e95aa7c..f8bc451d 100644
--- a/src/gui/tabbedcontainer.cpp
+++ b/src/gui/tabbedcontainer.cpp
@@ -19,8 +19,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <algorithm>
-
#include "button.h"
#include "tabbedcontainer.h"
@@ -43,8 +41,7 @@ TabbedContainer::TabbedContainer(int width, int padX, int buttonHeight,
TabbedContainer::~TabbedContainer()
{
- for_each(mTabs.begin(), mTabs.end(), make_dtor(mTabs));
-
+ delete_all(mTabs);
mTabs.clear();
mContents.clear();
}