switch from std::time to long timestamp only

This commit is contained in:
Kai Philipp
2019-09-09 19:37:32 +02:00
parent 13ebae6618
commit 962eb48148
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -402,13 +402,13 @@ SessionData::GetPlayerData()
}
void
SessionData::SetPlayerLastGames(std::array<std::time_t> lastGames)
SessionData::SetPlayerLastGames(std::array<long, 25> lastGames)
{
boost::mutex::scoped_lock lock(m_dataMutex);
m_lastGames = player;
}
std::array<std::time_t>
std::array<long, 25>
SessionData::GetPlayerLastGames()
{
boost::mutex::scoped_lock lock(m_dataMutex);