switch from std::time to long timestamp only
This commit is contained in:
1 parent
13ebae6618
commit
962eb48148
3 files changed
+6
-5
No files matched your search
@@ -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);
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
#include <net/socket_msg.h>
|
||||
|
||||
#include <ctime>
|
||||
#include <array>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
Reference in new issue
Block a user