diff --git a/src/net/common/sessiondata.cpp b/src/net/common/sessiondata.cpp index 8b2a0de5..4822b26a 100644 --- a/src/net/common/sessiondata.cpp +++ b/src/net/common/sessiondata.cpp @@ -39,7 +39,7 @@ #include // #include // @TODO: remove if really not necessary -// #include // same here +// #include // same here using namespace std; using boost::asio::ip::tcp; @@ -402,13 +402,13 @@ SessionData::GetPlayerData() } void -SessionData::SetPlayerLastGames(array lastGames) +SessionData::SetPlayerLastGames(Array lastGames) { boost::mutex::scoped_lock lock(m_dataMutex); m_lastGames = player; } -array +Array SessionData::GetPlayerLastGames() { boost::mutex::scoped_lock lock(m_dataMutex); diff --git a/src/net/sessiondata.h b/src/net/sessiondata.h index d0cf6694..979b5ce6 100644 --- a/src/net/sessiondata.h +++ b/src/net/sessiondata.h @@ -40,7 +40,7 @@ typedef unsigned SessionId; #include #include #include -#include +#include #include #include @@ -127,8 +127,8 @@ public: void SetPlayerData(boost::shared_ptr player); boost::shared_ptr GetPlayerData(); - void SetPlayerLastGames(array lastGames); - array GetPlayerLastGames(); + void SetPlayerLastGames(Array lastGames); + Array GetPlayerLastGames(); std::string GetRemoteIPAddressFromSocket() const; @@ -163,7 +163,7 @@ private: std::string m_password; boost::shared_ptr m_playerData; - array m_lastGames; + Array m_lastGames; mutable boost::mutex m_dataMutex; };