mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
Everywhere: Use default StringView constructor over nullptr
While null StringViews are just as bad, these prevent the removal of StringView(char const*) as that constructor accepts a nullptr. No functional changes.
This commit is contained in:
parent
c8585b77d2
commit
fbc771efe9
Notes:
sideshowbarker
2024-07-17 09:26:55 +09:00
Author: https://github.com/sin-ack
Commit: fbc771efe9
Pull-request: https://github.com/SerenityOS/serenity/pull/14555
Reviewed-by: https://github.com/Dexesttp ✅
Reviewed-by: https://github.com/kleinesfilmroellchen
16 changed files with 31 additions and 31 deletions
|
@ -133,7 +133,7 @@ public:
|
|||
virtual bool is_shared_handler() const override { return false; }
|
||||
virtual bool is_sharing_with_others() const override { return false; }
|
||||
virtual HandlerType type() const override { return HandlerType::IRQHandler; }
|
||||
virtual StringView controller() const override { return nullptr; }
|
||||
virtual StringView controller() const override { return {}; }
|
||||
virtual bool eoi() override;
|
||||
|
||||
virtual u32 frequency() const override { return (u32)m_frequency; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue