diff options
author | Andreas Kling <kling@serenityos.org> | 2021-04-29 11:28:01 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-29 11:28:01 +0200 |
commit | 39369f1da63e8949d00378824714b37aabac7db1 (patch) | |
tree | 684be83be103a1ae31edbc4245f96a8d607c2b0f /Userland/Utilities/tar.cpp | |
parent | 695cdf7bc054826b1abbf797b7c100fb26dad51c (diff) | |
download | serenity-39369f1da63e8949d00378824714b37aabac7db1.zip |
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.
Diffstat (limited to 'Userland/Utilities/tar.cpp')
-rw-r--r-- | Userland/Utilities/tar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/tar.cpp b/Userland/Utilities/tar.cpp index 3f2ea95562..7877787b37 100644 --- a/Userland/Utilities/tar.cpp +++ b/Userland/Utilities/tar.cpp @@ -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 { |