mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +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
|
@ -89,7 +89,7 @@ int main(int argc, char** argv)
|
|||
FILE* fp = stdin;
|
||||
bool is_stdin = true;
|
||||
|
||||
if (StringView { "-" } != file_to_read) {
|
||||
if ("-"sv != file_to_read) {
|
||||
// A file was specified, try to open it.
|
||||
fp = fopen(file_to_read, "re");
|
||||
if (!fp) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue