mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 19:05:07 +00:00
Misc: Replace "String(string_view)" with "string_view.to_string()"
StringView::to_string() was added in 917ccb1 but not actually used anywhere yet.
This commit is contained in:
parent
107ca2e4ba
commit
9dbab2d05e
10 changed files with 11 additions and 11 deletions
|
@ -167,7 +167,7 @@ OwnPtr<Profile> Profile::load_from_perfcore_file(const StringView& path)
|
|||
{
|
||||
auto file = Core::File::construct(path);
|
||||
if (!file->open(Core::IODevice::ReadOnly)) {
|
||||
fprintf(stderr, "Unable to open %s, error: %s\n", String(path).characters(), file->error_string());
|
||||
fprintf(stderr, "Unable to open %s, error: %s\n", path.to_string().characters(), file->error_string());
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue