From 9990f73845d76106063536d7cd630ac15cb4a065 Mon Sep 17 00:00:00 2001 From: linus-sherrill Date: Sun, 13 Jan 2019 16:46:41 -0500 Subject: [PATCH] Remove empty string initializer. (#159) 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 81ac11c..45fea09 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;