mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Clean up getTime helpers
This increases size of the getTime return values to 64 bits. It also removes the TimeGetter classes since the getTime functions are now very precise.
This commit is contained in:
@@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include "threading/mutex.h"
|
||||
#include "network/networkpacket.h"
|
||||
#include "util/cpp11_container.h"
|
||||
#include "porting.h"
|
||||
|
||||
#include <list>
|
||||
#include <vector>
|
||||
@@ -265,7 +266,7 @@ public:
|
||||
m_version_patch(0),
|
||||
m_full_version("unknown"),
|
||||
m_deployed_compression(0),
|
||||
m_connection_time(getTime(PRECISION_SECONDS))
|
||||
m_connection_time(porting::getTime(PRECISION_SECONDS))
|
||||
{
|
||||
}
|
||||
~RemoteClient()
|
||||
|
Reference in New Issue
Block a user