diff options
author | Taylor C. Richberger <taywee@gmx.com> | 2017-12-12 11:45:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-12 11:45:13 -0700 |
commit | c1ce98d50a42434723dcac64acbfbf20dc630aa9 (patch) | |
tree | d97338b461aad5115fa9d6ec7ec12361a0aa4e1f | |
parent | Adds ParseCLI overload to parse vector of string (diff) | |
download | args.hxx-c1ce98d50a42434723dcac64acbfbf20dc630aa9.tar.xz |
Update args.hxx
Take reference instead of copy of vector.
-rw-r--r-- | args.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2614,7 +2614,7 @@ namespace args return ParseArgs(args) == std::end(args); } - bool ParseCLI(const std::vector<std::string> args) + bool ParseCLI(const std::vector<std::string> &args) { return ParseArgs(args) == std::end(args); } |