Everywhere: Prefer using "..."sv over StringView { "..." }

This commit is contained in:
Gunnar Beutner 2021-07-04 11:08:46 +02:00 committed by Andreas Kling
commit 3bbe86d8ea
Notes: sideshowbarker 2024-07-18 10:30:27 +09:00
11 changed files with 35 additions and 35 deletions

View file

@ -577,7 +577,7 @@ int main(int argc, char** argv)
return 1;
}
if ((argc == 2 && StringView { "--help" } == argv[1]) || argc == 1)
if ((argc == 2 && "--help"sv == argv[1]) || argc == 1)
print_help_and_exit();
Queue<StringView> args;