mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 20:25:07 +00:00
Userland: Don't use String::from_utf8()
for literal strings
This commit is contained in:
parent
4cc3c41269
commit
c74f7e5f2a
8 changed files with 15 additions and 15 deletions
|
@ -24,7 +24,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
|
||||
auto app = TRY(GUI::Application::create(arguments));
|
||||
Config::pledge_domain("PixelPaint");
|
||||
app->set_config_domain(TRY(String::from_utf8("PixelPaint"sv)));
|
||||
app->set_config_domain("PixelPaint"_string);
|
||||
|
||||
StringView image_file;
|
||||
Core::ArgsParser args_parser;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue