deploy a range for
This commit is contained in:
parent
0e7866db2d
commit
e7d2108ba6
1 changed files with 4 additions and 4 deletions
|
@ -1394,11 +1394,11 @@ void config::merge_with(const config& c)
|
|||
}
|
||||
|
||||
// Now add any unvisited tags
|
||||
for(child_map::const_iterator j = c.children.begin(); j != c.children.end(); ++j) {
|
||||
const std::string& tag = j->first;
|
||||
for(const auto& pair : c.children) {
|
||||
const std::string& tag = pair.first;
|
||||
unsigned &visits = visitations[tag];
|
||||
while(visits < j->second.size()) {
|
||||
add_child(tag, *j->second[visits++]);
|
||||
while(visits < pair.second.size()) {
|
||||
add_child(tag, *pair.second[visits++]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue