Fix to build with UNICODE enabled

This commit is contained in:
Kevin Lussier 2018-06-15 00:43:26 -07:00
parent 6d0fd96bc2
commit 5b4d0113f8

View File

@ -998,7 +998,7 @@ namespace cxxopts
std::string name; std::string name;
std::string description; std::string description;
std::vector<HelpOptionDetails> options; std::vector<HelpOptionDetails> options;
std::list<std::string> notes; std::list<String> notes;
}; };
class OptionValue class OptionValue
@ -1243,7 +1243,7 @@ namespace cxxopts
); );
void void
add_group_note(const std::string& group, const std::string& note); add_group_note(const std::string& group, const String& note);
//parse positional arguments into the given option //parse positional arguments into the given option
void void
@ -1880,7 +1880,7 @@ void
Options::add_group_note Options::add_group_note
( (
const std::string& group, const std::string& group,
const std::string& note const String& note
) )
{ {
//add the help details //add the help details