1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 18:37:36 +00:00

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.
This commit is contained in:
Brian Gianforcaro 2021-10-02 15:30:23 -07:00 committed by Andreas Kling
parent 5f1c98e576
commit 3a945051fc
10 changed files with 11 additions and 11 deletions

View file

@ -21,7 +21,7 @@ public:
[[noreturn]] virtual bool eoi() override;
virtual HandlerType type() const override { return HandlerType::UnhandledInterruptHandler; }
virtual StringView purpose() const override { return "Unhandled Interrupt Handler"; }
virtual StringView purpose() const override { return "Unhandled Interrupt Handler"sv; }
virtual StringView controller() const override { VERIFY_NOT_REACHED(); }
virtual size_t sharing_devices_count() const override { return 0; }