mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
Everywhere: Use _{short_,}string to create Strings from literals
This commit is contained in:
@@ -111,7 +111,7 @@ ErrorOr<String> Process::get_name()
|
||||
return String::from_utf8(StringView { buffer, strlen(buffer) });
|
||||
#else
|
||||
// FIXME: Implement Process::get_name() for other platforms.
|
||||
return String::from_utf8_short_string("???"sv);
|
||||
return "???"_short_string;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user