mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 11:14:58 +00:00
Everywhere: Prefer using "..."sv over StringView { "..." }
This commit is contained in:
parent
ea8ff03475
commit
3bbe86d8ea
11 changed files with 35 additions and 35 deletions
|
@ -98,9 +98,9 @@ int main(int argc, char** argv)
|
|||
.long_name = "show-progress",
|
||||
.short_name = 'p',
|
||||
.accept_value = [&](auto* str) {
|
||||
if (StringView { "true" } == str)
|
||||
if ("true"sv == str)
|
||||
print_progress = true;
|
||||
else if (StringView { "false" } == str)
|
||||
else if ("false"sv == str)
|
||||
print_progress = false;
|
||||
else
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue