Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jarro2783/cxxopts.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJarryd Beck <jarro.2783@gmail.com>2021-07-31 03:39:30 +0300
committerJarryd Beck <jarro.2783@gmail.com>2021-10-09 09:02:27 +0300
commitc641241a87cba7efdcb8f2145649763940784982 (patch)
treed5e28dc32670968b13027160e70a330938b23c3f /test
parent4b7fccb5f2bca82041f6d71026c3133a873c6de5 (diff)
Fixes to #204.
Diffstat (limited to 'test')
-rw-r--r--test/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/options.cpp b/test/options.cpp
index 7c6d5f7..0e86177 100644
--- a/test/options.cpp
+++ b/test/options.cpp
@@ -244,7 +244,7 @@ TEST_CASE("Positional with empty arguments", "[positional]") {
Argv av({"foobar", "--long", "long_value", "--", "someProgram", "ab", "-c", "d", "--ef", "gh", "--ijk=lm", "n", "", "o", });
std::vector<std::string> expected({"ab", "-c", "d", "--ef", "gh", "--ijk=lm", "n", "", "o", });
- char** argv = av.argv();
+ auto** argv = av.argv();
auto argc = av.argc();
auto result = options.parse(argc, argv);