1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 12:37:44 +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:
Linus Groh 2020-05-06 18:18:24 +01:00 committed by Andreas Kling
parent 107ca2e4ba
commit 9dbab2d05e
10 changed files with 11 additions and 11 deletions

View file

@ -51,7 +51,7 @@ int parse_options(const StringView& options)
else if (part == "bind")
flags |= MS_BIND;
else
fprintf(stderr, "Ignoring invalid option: %s\n", String(part).characters());
fprintf(stderr, "Ignoring invalid option: %s\n", part.to_string().characters());
}
return flags;
}