summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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