std:array to array

This commit is contained in:
Kai Philipp
2019-09-09 19:40:03 +02:00
parent 962eb48148
commit 835a0f6df8
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -402,13 +402,13 @@ SessionData::GetPlayerData()
} }
void void
SessionData::SetPlayerLastGames(std::array<long, 25> lastGames) SessionData::SetPlayerLastGames(array<long, 25> lastGames)
{ {
boost::mutex::scoped_lock lock(m_dataMutex); boost::mutex::scoped_lock lock(m_dataMutex);
m_lastGames = player; m_lastGames = player;
} }
std::array<long, 25> array<long, 25>
SessionData::GetPlayerLastGames() SessionData::GetPlayerLastGames()
{ {
boost::mutex::scoped_lock lock(m_dataMutex); boost::mutex::scoped_lock lock(m_dataMutex);
+2 -2
View File
@@ -127,8 +127,8 @@ public:
void SetPlayerData(boost::shared_ptr<PlayerData> player); void SetPlayerData(boost::shared_ptr<PlayerData> player);
boost::shared_ptr<PlayerData> GetPlayerData(); boost::shared_ptr<PlayerData> GetPlayerData();
void SetPlayerLastGames(std::array<long, 25> lastGames); void SetPlayerLastGames(array<long, 25> lastGames);
std::array<long, 25> GetPlayerLastGames(); array<long, 25> GetPlayerLastGames();
std::string GetRemoteIPAddressFromSocket() const; std::string GetRemoteIPAddressFromSocket() const;