Silence format warning
This commit is contained in:
parent
bdac00740b
commit
494eee2ea7
1 changed files with 5 additions and 2 deletions
|
@ -671,8 +671,11 @@ void Section_prop::PrintData(FILE* outfile) const {
|
|||
len = (*tel)->propname.length();
|
||||
}
|
||||
|
||||
for(const_it tel = properties.begin();tel != properties.end();tel++) {
|
||||
fprintf(outfile,"%-*s = %s\n", len, (*tel)->propname.c_str(), (*tel)->GetValue().ToString().c_str());
|
||||
for (const auto &tel : properties) {
|
||||
fprintf(outfile, "%-*s = %s\n",
|
||||
static_cast<int>(len),
|
||||
tel->propname.c_str(),
|
||||
tel->GetValue().ToString().c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue