@@ -95,7 +95,7 @@ ConfigBase::parseWallTimeToSeconds(const std::string& arg, bool& success, const
9595void
9696ConfigBase::addOption (
9797 struct option opt, const char * argname, const char * desc, std::function<int (const char * arg)> callback,
98- std::vector<bool > annotations, std::function<std::string(void )> ext_help)
98+ std::vector<bool > annotations, std::function<std::string()> ext_help)
9999{
100100 // Put this into the options vector
101101 options.emplace_back (opt, argname, desc, callback, false , annotations, ext_help, false );
@@ -143,7 +143,7 @@ ConfigBase::addHeading(const char* desc)
143143 struct option opt = { " " , optional_argument, 0 , 0 };
144144 std::vector<bool > vec;
145145 options.emplace_back (
146- opt, " " , desc, std::function<int (const char * arg)>(), true , vec, std::function<std::string (void )>(), false );
146+ opt, " " , desc, std::function<int (const char * arg)>(), true , vec, std::function<std::string ()>(), false );
147147}
148148
149149std::string
@@ -287,7 +287,7 @@ ConfigBase::printExtHelp(const std::string& option)
287287 else {
288288 Util::SmartTextFormatter formatter ({ 2 , 5 , 8 }, 1 );
289289
290- std::function<std::string (void )>& func = extra_help_map[option];
290+ std::function<std::string ()>& func = extra_help_map[option];
291291 std::string help = func ();
292292 formatter.append (help);
293293 fprintf (stderr, " %s\n " , formatter.str ().c_str ());
0 commit comments