1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:47:35 +00:00

Kernel: Make HardwareTimer::model() return StringView

This commit is contained in:
Andreas Kling 2021-08-05 20:50:00 +02:00
parent 32a150f2b4
commit f572d96539
5 changed files with 5 additions and 5 deletions

View file

@ -35,7 +35,7 @@ public:
// classes then should forward this to e.g. GenericInterruptHandler.
virtual void will_be_destroyed() = 0;
virtual const char* model() const = 0;
virtual StringView model() const = 0;
virtual HardwareTimerType timer_type() const = 0;
virtual Function<void(const RegisterState&)> set_callback(Function<void(const RegisterState&)>) = 0;