diff options
Diffstat (limited to 'src/cli/utils.cpp')
-rw-r--r-- | src/cli/utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli/utils.cpp b/src/cli/utils.cpp index 664f74eb8..c0af0332e 100644 --- a/src/cli/utils.cpp +++ b/src/cli/utils.cpp @@ -131,11 +131,11 @@ class Hash final : public Command const size_t buf_size = get_arg_sz("buf-size"); - auto files = get_arg_list("files"); + std::vector<std::string> files = get_arg_list("files"); if(files.empty()) files.push_back("-"); // read stdin if no arguments on command line - for(auto fsname : files) + for(const std::string& fsname : files) { try { |