Commit aec3db04 authored by François Grisez's avatar François Grisez

Reformat source

parent acb41294
Pipeline #909 passed with stage
in 47 minutes and 20 seconds
......@@ -79,17 +79,17 @@ bool ConfigDumper::shouldDumpModule(const string &moduleName) const {
/* FILE CONFIG DUMPER */
ostream &FileConfigDumper::printHelp(ostream &os, const string &help, const string &comment_prefix) const {
auto it = help.cbegin();
auto begin = it;
for (; it != help.cend(); it++) {
if (((it - begin) > 60 && *it == ' ') || *it == '\n') {
os << comment_prefix << " " << string(begin, it) << endl;
begin = it + 1;
}
}
os << comment_prefix << " " << string(begin, it) << endl;
return os;
auto it = help.cbegin();
auto begin = it;
for (; it != help.cend(); it++) {
if (((it - begin) > 60 && *it == ' ') || *it == '\n') {
os << comment_prefix << " " << string(begin, it) << endl;
begin = it + 1;
}
}
os << comment_prefix << " " << string(begin, it) << endl;
return os;
}
ostream &FileConfigDumper::dumpModuleValue(std::ostream &ostr, const ConfigValue *val, int level) const {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment