1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:17:35 +00:00

Utilities: Use Vector<String> positional arguments in some places

There are more places we can use these, I just picked some that felt
like they improved the code.
This commit is contained in:
Andreas Kling 2021-04-29 11:28:01 +02:00
parent 695cdf7bc0
commit 39369f1da6
6 changed files with 15 additions and 17 deletions

View file

@ -175,7 +175,7 @@ int main(int argc, char** argv)
}
};
for (const String path : paths) {
for (auto const& path : paths) {
if (Core::File::is_directory(path)) {
add_directory(path, add_directory);
} else {