aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-12-28 20:24:24 -0500
committerZach Hilman <zachhilman@gmail.com>2019-01-07 19:19:40 -0500
commit63e948f48395cc93abe72a6b9efae4942285b6a3 (patch)
tree3162febaeb374ee6310491f75d94b2ec4918b5ae /src/core/core.cpp
parent921ea45baf8539c415aab8d4753e459372ef9fc9 (diff)
settings: Use std::chrono::seconds instead of s64 for RTC
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 7459c0851e..123b114093 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -96,8 +96,7 @@ struct System::Impl {
kernel.Initialize();
const auto current_time = std::chrono::duration_cast<std::chrono::seconds>(
- std::chrono::system_clock::now().time_since_epoch())
- .count();
+ std::chrono::system_clock::now().time_since_epoch());
Settings::values.custom_rtc_differential =
Settings::values.custom_rtc.value_or(current_time) - current_time;