mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +00:00
Everywhere: Use '_{short_,}string' literals more
This mostly updates code what was written before but merged after these were added.
This commit is contained in:
parent
d0ba5f2ed7
commit
51c3967516
15 changed files with 94 additions and 95 deletions
|
@ -24,7 +24,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
|
||||
Config::pledge_domain("TextEditor");
|
||||
|
||||
app->set_config_domain(TRY(String::from_utf8("TextEditor"sv)));
|
||||
app->set_config_domain(TRY("TextEditor"_string));
|
||||
|
||||
auto preview_mode = "auto"sv;
|
||||
char const* file_to_edit = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue