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:
parent
695cdf7bc0
commit
39369f1da6
6 changed files with 15 additions and 17 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue