summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hadori.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/hadori.C b/hadori.C
index 4ac0684..093f9a3 100644
--- a/hadori.C
+++ b/hadori.C
@@ -168,7 +168,7 @@ int main (int const argc, char ** argv) {
po::options_description all_opts;
all_opts.add(opts);
all_opts.add_options()
- ("args", po::value< std::vector<std::string> >(), "files and directories to work on")
+ ("args", po::value<std::vector<std::string>>(), "files and directories to work on")
;
po::positional_options_description pos_opts;
pos_opts.add("args", -1);
@@ -192,7 +192,7 @@ int main (int const argc, char ** argv) {
error << "--stdin combined with commandline arguments, this is not supported." << std::endl;
return EX_USAGE;
}
- for(std::string const & dir : config["args"].as< std::vector<std::string> >())
+ for(auto const & dir : config["args"].as<std::vector<std::string>>())
recurse_start(dir);
} else {
if (not config.count("stdin") and not config.count("null"))