Skip to content

Commit adaaea4

Browse files
committed
Kernel: Make TimeManagement::boot_time() static
1 parent a786b37 commit adaaea4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Kernel/Time/TimeManagement.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ time_t TimeManagement::ticks_per_second() const
175175
return m_time_keeper_timer->ticks_per_second();
176176
}
177177

178-
time_t TimeManagement::boot_time() const
178+
time_t TimeManagement::boot_time()
179179
{
180180
return RTC::boot_time();
181181
}

Kernel/Time/TimeManagement.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class TimeManagement {
4747
Time epoch_time(TimePrecision = TimePrecision::Precise) const;
4848
void set_epoch_time(Time);
4949
time_t ticks_per_second() const;
50-
time_t boot_time() const;
50+
static time_t boot_time();
5151

5252
bool is_system_timer(HardwareTimerBase const&) const;
5353

0 commit comments

Comments
 (0)