From a70e63c68000b98a0c5cedb6f96ceb515c42c45c Mon Sep 17 00:00:00 2001 From: Linus Sherrill Date: Fri, 4 Jan 2019 13:18:30 -0500 Subject: [PATCH] Remove empty string initializer. The empty string caused the vector to have one element which caused the test at line 2041 to always fail. --- include/cxxopts.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index 6677002..04c58c3 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -1281,7 +1281,7 @@ namespace cxxopts } std::string - help(const std::vector& groups = {""}) const; + help(const std::vector& groups = {}) const; const std::vector groups() const;