Another code style change.
https://github.com/wesnoth/wesnoth/pull/4070#discussion_r290087743
This commit is contained in:
parent
541956343b
commit
4fb2aaa7ab
1 changed files with 2 additions and 3 deletions
|
@ -198,11 +198,10 @@ static config write_by_cth_map(const stats::hitrate_map& m)
|
|||
{
|
||||
config res;
|
||||
for(const auto& i : m) {
|
||||
const config child(
|
||||
res.add_child("hitrate_map_entry", config {
|
||||
"cth", i.first,
|
||||
"stats", i.second.write()
|
||||
);
|
||||
res.add_child("hitrate_map_entry", child);
|
||||
});
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue