1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-01-31 09:57:14 +01:00

Fix compile time error in Chrono library.

The get tick count functions were defined as members of the Chrono class.
This commit is contained in:
Sandu Liviu Catalin 2016-06-11 17:53:55 +03:00
parent a3169ad7d2
commit e3ecc782ef

View File

@ -108,7 +108,7 @@ Int64 Chrono::GetEpochTimeMicro()
}
// ------------------------------------------------------------------------------------------------
Uint32 Chrono::GetTickCount()
Uint32 GetTickCount()
{
// POSIX implementation
struct timespec time;
@ -120,7 +120,7 @@ Uint32 Chrono::GetTickCount()
}
// ------------------------------------------------------------------------------------------------
Int64 Chrono::GetTickCount64()
Int64 GetTickCount64()
{
struct timespec time;
if (clock_gettime(CLOCK_MONOTONIC, &time))