Switched getTime() to std::chrono on all platforms.

This commit is contained in:
2020-09-16 20:14:00 +02:00
parent efda6673b5
commit 5efc8ac089
3 changed files with 9 additions and 14 deletions

View File

@@ -32,7 +32,7 @@
std::string U16toU8(char16_t* src);
size_t U8toU16(std::string src, char16_t* des); // returns number of char16_t that was written at des
uint64_t getTime();
time_t getTime();
// The PROTOCOL_VERSION definition is defined by the build system.
#if !defined(PROTOCOL_VERSION)