summaryrefslogtreecommitdiff
path: root/src/net/manaserv
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-02 21:11:16 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-02 21:11:16 +0300
commit8e3c48f9ed3dfe6dc2665f8b867e637cfc4d32ee (patch)
treec3d706aff10cb2c60009980e28367998fcc2d094 /src/net/manaserv
parent45a9bbd34cda3c784b935860a4cc616a0314a57c (diff)
downloadmanaverse-8e3c48f9ed3dfe6dc2665f8b867e637cfc4d32ee.tar.gz
manaverse-8e3c48f9ed3dfe6dc2665f8b867e637cfc4d32ee.tar.bz2
manaverse-8e3c48f9ed3dfe6dc2665f8b867e637cfc4d32ee.tar.xz
manaverse-8e3c48f9ed3dfe6dc2665f8b867e637cfc4d32ee.zip
Fix compilation with different flags.
Diffstat (limited to 'src/net/manaserv')
-rw-r--r--src/net/manaserv/adminhandler.cpp3
-rw-r--r--src/net/manaserv/adminhandler.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/net/manaserv/adminhandler.cpp b/src/net/manaserv/adminhandler.cpp
index 2c76e99a3..a8860d73b 100644
--- a/src/net/manaserv/adminhandler.cpp
+++ b/src/net/manaserv/adminhandler.cpp
@@ -91,7 +91,8 @@ void AdminHandler::mute(int playerId A_UNUSED, int type A_UNUSED,
// TODO
}
-void AdminHandler::warp(std::string map, int x, int y)
+void AdminHandler::warp(std::string map A_UNUSED,
+ int x A_UNUSED, int y A_UNUSED)
{
// TODO
}
diff --git a/src/net/manaserv/adminhandler.h b/src/net/manaserv/adminhandler.h
index 65e9ea2b0..17d296bd6 100644
--- a/src/net/manaserv/adminhandler.h
+++ b/src/net/manaserv/adminhandler.h
@@ -24,6 +24,7 @@
#define NET_MANASERV_ADMINHANDLER_H
#include "net/adminhandler.h"
+#include "string"
#ifdef __GNUC__
#define A_UNUSED __attribute__ ((unused))