summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-03-18 15:15:33 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-03-18 15:15:33 +0000
commit2e749068a812e75abb86abd7840723ef0ad4f813 (patch)
tree8e3848215f4574dfbf835a380ec1180d93ade3f2 /src
parentab678324e3d73e2354cef331624ecef7cfc03203 (diff)
downloadmana-2e749068a812e75abb86abd7840723ef0ad4f813.tar.gz
mana-2e749068a812e75abb86abd7840723ef0ad4f813.tar.bz2
mana-2e749068a812e75abb86abd7840723ef0ad4f813.tar.xz
mana-2e749068a812e75abb86abd7840723ef0ad4f813.zip
Fixed indentation.
Diffstat (limited to 'src')
-rw-r--r--src/utils/dtor.h10
1 files changed, 5 insertions, 5 deletions
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