mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-10-17 19:17:11 +02: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:
1 parent
a3169ad7d2
commit
e3ecc782ef
1 file changed
+2
-2
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user