diff options
author | Brian Gianforcaro <bgianf@serenityos.org> | 2021-10-02 15:30:23 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-03 13:36:10 +0200 |
commit | 3a945051fc70b772558496c2a02d1f09320cb134 (patch) | |
tree | 768767c5366b6130c241e4f9ad1ec7971e068655 /Kernel/Interrupts/SharedIRQHandler.h | |
parent | 5f1c98e5764c00b4601c959013291c8804e35618 (diff) | |
download | serenity-3a945051fc70b772558496c2a02d1f09320cb134.zip |
Kernel: Use `operator ""sv` in all purpose() implementations
Previously there was a mix of returning plain strings and returning
explicit string views using `operator ""sv`. This change switches them
all to standardized on `operator ""sv` as it avoids a call to strlen.
Diffstat (limited to 'Kernel/Interrupts/SharedIRQHandler.h')
-rw-r--r-- | Kernel/Interrupts/SharedIRQHandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Interrupts/SharedIRQHandler.h b/Kernel/Interrupts/SharedIRQHandler.h index 389d7b6659..6c7c65b13e 100644 --- a/Kernel/Interrupts/SharedIRQHandler.h +++ b/Kernel/Interrupts/SharedIRQHandler.h @@ -32,7 +32,7 @@ public: virtual bool is_sharing_with_others() const override { return false; } virtual HandlerType type() const override { return HandlerType::SharedIRQHandler; } - virtual StringView purpose() const override { return "Shared IRQ Handler"; } + virtual StringView purpose() const override { return "Shared IRQ Handler"sv; } virtual StringView controller() const override { return m_responsible_irq_controller->model(); } private: |