summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-03-09 16:50:23 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-03-09 16:50:23 +0000
commitdf8222e9a8ae0f258b3bdf66945c4547c211902e (patch)
tree0fd44f037818517b7fb161d4bda2aa83269b2da3
parent8a9e607d36b9b22cfb22002a3bbeb1bf86810337 (diff)
downloadmana-df8222e9a8ae0f258b3bdf66945c4547c211902e.tar.gz
mana-df8222e9a8ae0f258b3bdf66945c4547c211902e.tar.bz2
mana-df8222e9a8ae0f258b3bdf66945c4547c211902e.tar.xz
mana-df8222e9a8ae0f258b3bdf66945c4547c211902e.zip
Added guards.
-rw-r--r--ChangeLog1
-rw-r--r--src/utils/dtor.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ed2e9998..ffa96e4c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
2006-03-09 Björn Steinbrink <B.Steinbrink@gmx.de>
+ * src/utils/dtor.h: Added guards.
* src/game.cpp, src/main.cpp, src/gui/connection.cpp,
src/gui/menuwindow.cpp, src/net/tradehandler.cpp,
src/net/playerhandler.cpp: Made all local action listeners structs and
diff --git a/src/utils/dtor.h b/src/utils/dtor.h
index b969f15d..89b33eea 100644
--- a/src/utils/dtor.h
+++ b/src/utils/dtor.h
@@ -21,6 +21,9 @@
* $Id$
*/
+#ifndef _TMW_UTILS_DTOR_H
+#define _TMW_UTILS_DTOR_H
+
#include <functional>
#include <utility>
@@ -42,3 +45,5 @@ inline dtor<typename Cont::value_type> make_dtor(Cont const&)
{
return dtor<typename Cont::value_type>();
}
+
+#endif