aboutsummaryrefslogtreecommitdiff
path: root/app/source/Cplt/Utils/Time.cpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-11-27 12:04:31 -0800
committerrtk0c <[email protected]>2022-11-27 12:04:31 -0800
commit182c8f8357739f905bbd721006480502435b6b43 (patch)
tree082613a474d863182e2ad8f2167f1643f26e67a3 /app/source/Cplt/Utils/Time.cpp
parentb01ed99a1cd0c863c8709930658513c04dd70f61 (diff)
Update brace style to match rest of my projectscplt-imgui
Diffstat (limited to 'app/source/Cplt/Utils/Time.cpp')
-rw-r--r--app/source/Cplt/Utils/Time.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/source/Cplt/Utils/Time.cpp b/app/source/Cplt/Utils/Time.cpp
index 4e79ffa..423f6bd 100644
--- a/app/source/Cplt/Utils/Time.cpp
+++ b/app/source/Cplt/Utils/Time.cpp
@@ -2,8 +2,7 @@
#include <ctime>
-std::string TimeUtils::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);
char data[32];
@@ -15,8 +14,7 @@ std::string TimeUtils::StringifyTimePoint(std::chrono::time_point<std::chrono::s
return std::string(data);
}
-std::string TimeUtils::StringifyTimeStamp(int64_t timeStamp)
-{
+std::string TimeUtils::StringifyTimeStamp(int64_t timeStamp) {
if (timeStamp == 0) {
return "";
}