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:
parent
a3169ad7d2
commit
e3ecc782ef
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user