From e0921ef6a874d81c569e46ae58fee3e6a4567902 Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Sat, 27 Oct 2007 08:11:49 +0000 Subject: Made it compile with GCC 4.3 --- src/game-server/command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game-server/command.cpp') 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 > -- cgit v1.2.3-70-g09d2