Return the number of actual children instead of keys.
This commit is contained in:
parent
f2cbf64a07
commit
96b48b2360
1 changed files with 1 additions and 1 deletions
|
@ -577,7 +577,7 @@ unsigned config::child_count(const std::string &key) const
|
|||
|
||||
unsigned config::all_children_count() const
|
||||
{
|
||||
return children.size();
|
||||
return ordered_children.size();
|
||||
}
|
||||
|
||||
bool config::has_child(const std::string &key) const
|
||||
|
|
Loading…
Add table
Reference in a new issue