aboutsummaryrefslogtreecommitdiff
path: root/core/src/Utils/Time.cpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2021-05-31 12:27:58 -0700
committerrtk0c <[email protected]>2021-05-31 12:27:58 -0700
commit8157678eba97d7de5c53b424a9866d327392bbd9 (patch)
tree26348a926040ccfc91f74cdfe49f7153db271f87 /core/src/Utils/Time.cpp
parenteef2514908cdec3ec02888b7467cc877d33c1ceb (diff)
Fix standard incompetence found by MSVC
- requires-expression still not working, because they aren't supported yet outside of a concept
Diffstat (limited to 'core/src/Utils/Time.cpp')
-rw-r--r--core/src/Utils/Time.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/Utils/Time.cpp b/core/src/Utils/Time.cpp
index bbdc313..9086e31 100644
--- a/core/src/Utils/Time.cpp
+++ b/core/src/Utils/Time.cpp
@@ -2,7 +2,7 @@
#include <ctime>
-std::string StringifyTimePoint(std::chrono::time_point<std::chrono::system_clock> tp)
+std::string TimeUtils::StringifyTimePoint(std::chrono::time_point<std::chrono::system_clock> tp)
{
auto t = std::chrono::system_clock::to_time_t(tp);
@@ -15,7 +15,7 @@ std::string StringifyTimePoint(std::chrono::time_point<std::chrono::system_clock
return std::string(data);
}
-std::string StringifyTimeStamp(int64_t timeStamp)
+std::string TimeUtils::StringifyTimeStamp(int64_t timeStamp)
{
if (timeStamp == 0) {
return "";