array to vector now

This commit is contained in:
Kai Philipp
2019-09-09 20:34:58 +02:00
parent ee6c80406a
commit 02e8c81974
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -402,7 +402,7 @@ SessionData::GetPlayerData()
}
void
SessionData::SetPlayerLastGames(std::array<unsigned long, 25> lastGames)
SessionData::SetPlayerLastGames(std::vector<unsigned long> lastGames)
{
boost::mutex::scoped_lock lock(m_dataMutex);
m_lastGames = lastGames;
@@ -418,7 +418,7 @@ SessionData::AddPlayerLastGame(unsigned long lastGame)
// @TODO: remove overdued entries
}
std::array<unsigned long, 25>
std::vector<unsigned long>
SessionData::GetPlayerLastGames()
{
boost::mutex::scoped_lock lock(m_dataMutex);