summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--src/utils/dtor.h10
2 files changed, 6 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 62a0c970..92f8f28c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
2006-03-18 Björn Steinbrink <B.Steinbrink@gmx.de>
+ * src/utils/dtor.h: Fixed indentation.
* src/configuration.cpp, src/log.cpp, src/main.cpp, src/being.cpp,
src/monster.cpp, src/gui/equipmentwindow.cpp, src/gui/sell.cpp,
src/gui/trade.cpp, src/gui/char_server.cpp, src/gui/setup.cpp,
diff --git a/src/utils/dtor.h b/src/utils/dtor.h
index 89b33eea..f2c6c1b8 100644
--- a/src/utils/dtor.h
+++ b/src/utils/dtor.h
@@ -30,20 +30,20 @@
template<typename T>
struct dtor : public std::unary_function <T, void>
{
- void operator()(T &ptr) { delete ptr; }
+ void operator()(T &ptr) { delete ptr; }
};
template<typename T1, typename T2>
struct dtor<std::pair<T1, T2> > :
- public std::unary_function <std::pair<T1, T2>, void>
+public std::unary_function <std::pair<T1, T2>, void>
{
- void operator()(std::pair<T1, T2> &pair) { delete pair.second; }
+ 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>();
+ return dtor<typename Cont::value_type>();
}
#endif