mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
diff: Use StringView instead of DeprecatedString
This commit is contained in:
parent
96fecc434c
commit
84e8ff34a2
Notes:
sideshowbarker
2024-07-17 06:28:38 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/84e8ff34a2 Pull-request: https://github.com/SerenityOS/serenity/pull/19592 Reviewed-by: https://github.com/kennethmyhra ✅
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
TRY(Core::System::pledge("stdio rpath"));
|
||||
|
||||
Core::ArgsParser parser;
|
||||
DeprecatedString filename1;
|
||||
DeprecatedString filename2;
|
||||
StringView filename1;
|
||||
StringView filename2;
|
||||
|
||||
parser.add_positional_argument(filename1, "First file to compare", "file1", Core::ArgsParser::Required::Yes);
|
||||
parser.add_positional_argument(filename2, "Second file to compare", "file2", Core::ArgsParser::Required::Yes);
|
||||
|
|
Loading…
Reference in a new issue