diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-05 20:50:00 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-06 00:37:47 +0200 |
commit | f572d96539e3764f56298b6e57f8ce3bea05c6fb (patch) | |
tree | 055dafa4ad59487530fcd900fcff5b4d674fb6ac /Kernel/Time/RTC.h | |
parent | 32a150f2b4f2c100e88e198b78ca2b37cd24a28e (diff) | |
download | serenity-f572d96539e3764f56298b6e57f8ce3bea05c6fb.zip |
Kernel: Make HardwareTimer::model() return StringView
Diffstat (limited to 'Kernel/Time/RTC.h')
-rw-r--r-- | Kernel/Time/RTC.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Time/RTC.h b/Kernel/Time/RTC.h index 748f8e28a1..c745194a11 100644 --- a/Kernel/Time/RTC.h +++ b/Kernel/Time/RTC.h @@ -15,7 +15,7 @@ class RealTimeClock final : public HardwareTimer<IRQHandler> { public: static NonnullRefPtr<RealTimeClock> create(Function<void(const RegisterState&)> callback); virtual HardwareTimerType timer_type() const override { return HardwareTimerType::RTC; } - virtual const char* model() const override { return "Real Time Clock"; } + virtual StringView model() const override { return "Real Time Clock"sv; } virtual size_t ticks_per_second() const override; virtual bool is_periodic() const override { return true; } |