diff options
author | Karol Kosek <krkk@serenityos.org> | 2023-05-14 21:20:02 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-05-15 06:39:22 +0200 |
commit | acf8e19eac8612ae76778a64f1a5021c71342b63 (patch) | |
tree | 05b7a7320c2a8f8c8f3f3476b35ef181372b71d6 /Userland/Libraries/LibFileSystem | |
parent | 631fe129e9477267de144519c01663bf3816595f (diff) | |
download | serenity-acf8e19eac8612ae76778a64f1a5021c71342b63.zip |
LibCore: Use StringView in Object::find_{child,descendant}_of_type_named
It's unnecessary to allocate a string when we only want to compare it
with another string.
This change also adds a helper for string literals, so that we won't
need to add -sv suffix everywhere. :^)
Diffstat (limited to 'Userland/Libraries/LibFileSystem')
0 files changed, 0 insertions, 0 deletions