From adaaea4c9a8e05a178fd0ee9f9c8a1852c7820ab Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 14 Jun 2022 14:00:09 +0200 Subject: [PATCH] Kernel: Make TimeManagement::boot_time() static --- Kernel/Time/TimeManagement.cpp | 2 +- Kernel/Time/TimeManagement.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel/Time/TimeManagement.cpp b/Kernel/Time/TimeManagement.cpp index 18d42d6d95..55e4bac899 100644 --- a/Kernel/Time/TimeManagement.cpp +++ b/Kernel/Time/TimeManagement.cpp @@ -175,7 +175,7 @@ time_t TimeManagement::ticks_per_second() const return m_time_keeper_timer->ticks_per_second(); } -time_t TimeManagement::boot_time() const +time_t TimeManagement::boot_time() { return RTC::boot_time(); } diff --git a/Kernel/Time/TimeManagement.h b/Kernel/Time/TimeManagement.h index 76b38ecf92..9d1735e101 100644 --- a/Kernel/Time/TimeManagement.h +++ b/Kernel/Time/TimeManagement.h @@ -47,7 +47,7 @@ public: Time epoch_time(TimePrecision = TimePrecision::Precise) const; void set_epoch_time(Time); time_t ticks_per_second() const; - time_t boot_time() const; + static time_t boot_time(); bool is_system_timer(HardwareTimerBase const&) const;