mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
diff: Use StringView instead of DeprecatedString
This commit is contained in:
committed by
Andreas Kling
parent
96fecc434c
commit
84e8ff34a2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user