summaryrefslogtreecommitdiff
path: root/src/utils/dtor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/dtor.h')
-rw-r--r--src/utils/dtor.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/utils/dtor.h b/src/utils/dtor.h
index 96ce63d4..e7240d12 100644
--- a/src/utils/dtor.h
+++ b/src/utils/dtor.h
@@ -1,9 +1,8 @@
/*
- * Aethyra
+ * The Mana World
* Copyright (C) 2004 The Mana World Development Team
*
- * This file is part of Aethyra based on original code
- * from The Mana World.
+ * This file is part of The Mana World.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -40,7 +39,7 @@ public std::unary_function <std::pair<T1, T2>, void>
void operator()(std::pair<T1, T2> &pair) { delete pair.second; }
};
- template<class Cont>
+template<class Cont>
inline dtor<typename Cont::value_type> make_dtor(Cont const&)
{
return dtor<typename Cont::value_type>();
@@ -52,5 +51,4 @@ inline void delete_all(Container &c)
std::for_each(c.begin(), c.end(), make_dtor(c));
}
-
#endif