diff options
author | 2014-11-17 23:06:23 +0000 | |
---|---|---|
committer | 2014-11-17 23:06:23 +0000 | |
commit | 5783c581209bd7a3640316b617233fa1214a193f (patch) | |
tree | 6168cd01f3f7a9c1d1fc178f2dadf6226f86139f /native/dicttoolkit/src/utils/arguments_parser.h | |
parent | 110b37eeaf9bc8b13e077e066a5042af8ceafb54 (diff) | |
parent | fdf92789c12ff0cba6130d3ca6848463417e3965 (diff) | |
download | latinime-5783c581209bd7a3640316b617233fa1214a193f.tar.gz latinime-5783c581209bd7a3640316b617233fa1214a193f.tar.xz latinime-5783c581209bd7a3640316b617233fa1214a193f.zip |
am fdf92789: Merge "Add unit tests for ArgumentsParser.validateSpecs()."
* commit 'fdf92789c12ff0cba6130d3ca6848463417e3965':
Add unit tests for ArgumentsParser.validateSpecs().
Diffstat (limited to 'native/dicttoolkit/src/utils/arguments_parser.h')
-rw-r--r-- | native/dicttoolkit/src/utils/arguments_parser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/native/dicttoolkit/src/utils/arguments_parser.h b/native/dicttoolkit/src/utils/arguments_parser.h index be2dd8749..510a8722b 100644 --- a/native/dicttoolkit/src/utils/arguments_parser.h +++ b/native/dicttoolkit/src/utils/arguments_parser.h @@ -97,8 +97,8 @@ class ArgumentSpec { class ArgumentsParser { public: - ArgumentsParser(std::unordered_map<std::string, OptionSpec> &&optionSpecs, - std::vector<ArgumentSpec> &&argumentSpecs) + ArgumentsParser(const std::unordered_map<std::string, OptionSpec> &&optionSpecs, + const std::vector<ArgumentSpec> &&argumentSpecs) : mOptionSpecs(std::move(optionSpecs)), mArgumentSpecs(std::move(argumentSpecs)) {} const ArgumentsAndOptions parseArguments(const int argc, char **argv) const; |