diff options
author | Andreas Kling <kling@serenityos.org> | 2021-07-11 01:46:09 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-11 01:46:59 +0200 |
commit | c9f6786e8b726dfe3d8d4ee13e34be561c093fe5 (patch) | |
tree | 0252a8e9b9bae62762c466e33e3b1e462fe54e43 /Kernel/Interrupts/SpuriousInterruptHandler.h | |
parent | fa9111ac463d645bb801140b1e121d2f00c0efa1 (diff) | |
download | serenity-c9f6786e8b726dfe3d8d4ee13e34be561c093fe5.zip |
Kernel: Make various T::class_name() and similar return StringView
Instead of returning char const*, we can also give you a StringView.
Diffstat (limited to 'Kernel/Interrupts/SpuriousInterruptHandler.h')
-rw-r--r-- | Kernel/Interrupts/SpuriousInterruptHandler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Interrupts/SpuriousInterruptHandler.h b/Kernel/Interrupts/SpuriousInterruptHandler.h index 90e58a1f16..129a0f6683 100644 --- a/Kernel/Interrupts/SpuriousInterruptHandler.h +++ b/Kernel/Interrupts/SpuriousInterruptHandler.h @@ -29,8 +29,8 @@ public: virtual bool is_sharing_with_others() const override { return false; } virtual HandlerType type() const override { return HandlerType::SpuriousInterruptHandler; } - virtual const char* purpose() const override; - virtual const char* controller() const override; + virtual StringView purpose() const override; + virtual StringView controller() const override; private: void enable_interrupt_vector(); |