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
diff options
context:
space:
mode:
Diffstat (limited to 'test/options.cpp')
-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);