diff options
author | Linus Groh <mail@linusgroh.de> | 2023-02-25 16:40:37 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-02-25 20:51:49 +0100 |
commit | 09d40bfbb24588b5659f17e2701b5c367a447110 (patch) | |
tree | 8a5612e3251e504ab41d0ff5c7a1a7f70c2593b0 /Userland/Libraries/LibManual | |
parent | 85414d9338f5b4a25f46f519c07af161c48af45d (diff) | |
download | serenity-09d40bfbb24588b5659f17e2701b5c367a447110.zip |
Everywhere: Use _{short_,}string to create Strings from literals
Diffstat (limited to 'Userland/Libraries/LibManual')
-rw-r--r-- | Userland/Libraries/LibManual/PageNode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibManual/PageNode.cpp b/Userland/Libraries/LibManual/PageNode.cpp index ceb2ee04bb..d2b6605cc0 100644 --- a/Userland/Libraries/LibManual/PageNode.cpp +++ b/Userland/Libraries/LibManual/PageNode.cpp @@ -29,7 +29,7 @@ ErrorOr<String> PageNode::path() const ErrorOr<NonnullRefPtr<PageNode>> PageNode::help_index_page() { - static NonnullRefPtr<PageNode> const help_index_page = TRY(try_make_ref_counted<PageNode>(sections[7 - 1], TRY(String::from_utf8("Help-index"sv)))); + static NonnullRefPtr<PageNode> const help_index_page = TRY(try_make_ref_counted<PageNode>(sections[7 - 1], TRY("Help-index"_string))); return help_index_page; } |