summaryrefslogtreecommitdiffstats
path: root/src/game-server/command.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-10-27 08:11:49 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-10-27 08:11:49 +0000
commite0921ef6a874d81c569e46ae58fee3e6a4567902 (patch)
tree39616279d580b962964540f7057bf36fc467b419 /src/game-server/command.cpp
parent9c99307af34ade061b1d4ac75ab39b3af510dc24 (diff)
downloadmanaserv-e0921ef6a874d81c569e46ae58fee3e6a4567902.tar.gz
manaserv-e0921ef6a874d81c569e46ae58fee3e6a4567902.tar.xz
manaserv-e0921ef6a874d81c569e46ae58fee3e6a4567902.zip
Made it compile with GCC 4.3
Diffstat (limited to 'src/game-server/command.cpp')
-rw-r--r--src/game-server/command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/command.cpp b/src/game-server/command.cpp
index a77c2c0..cced131 100644
--- a/src/game-server/command.cpp
+++ b/src/game-server/command.cpp
@@ -40,7 +40,7 @@ static T proxy_cast(intptr_t v)
{ return (T)v; }
template<>
-static std::string const &proxy_cast(intptr_t v)
+std::string const &proxy_cast(intptr_t v)
{ return *(std::string const *)v; }
template< typename T1 >