diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-10-27 08:11:49 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-10-27 08:11:49 +0000 |
commit | e0921ef6a874d81c569e46ae58fee3e6a4567902 (patch) | |
tree | 39616279d580b962964540f7057bf36fc467b419 /src/game-server/command.cpp | |
parent | 9c99307af34ade061b1d4ac75ab39b3af510dc24 (diff) | |
download | manaserv-e0921ef6a874d81c569e46ae58fee3e6a4567902.tar.gz manaserv-e0921ef6a874d81c569e46ae58fee3e6a4567902.tar.bz2 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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/command.cpp b/src/game-server/command.cpp index a77c2c02..cced1318 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 > |