fix duplicated events from era and modification

This commit is contained in:
gfgtdf 2020-06-10 20:05:50 +02:00
parent f4538f6b02
commit c544d1beec

View file

@ -558,7 +558,7 @@ config& config::add_child_at_total(config_key_type key, const config &val, size_
assert(pos <= ordered_children.size());
if(pos == ordered_children.size()) {
//optimisation
config::add_child(key, val);
return config::add_child(key, val);
}
auto end = ordered_children.end();