diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-03-09 16:50:23 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-03-09 16:50:23 +0000 |
commit | df8222e9a8ae0f258b3bdf66945c4547c211902e (patch) | |
tree | 0fd44f037818517b7fb161d4bda2aa83269b2da3 | |
parent | 8a9e607d36b9b22cfb22002a3bbeb1bf86810337 (diff) | |
download | mana-df8222e9a8ae0f258b3bdf66945c4547c211902e.tar.gz mana-df8222e9a8ae0f258b3bdf66945c4547c211902e.tar.bz2 mana-df8222e9a8ae0f258b3bdf66945c4547c211902e.tar.xz mana-df8222e9a8ae0f258b3bdf66945c4547c211902e.zip |
Added guards.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/utils/dtor.h | 5 |
2 files changed, 6 insertions, 0 deletions
@@ -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 |