Return the number of actual children instead of keys.

This commit is contained in:
Boldizsár Lipka 2013-12-08 23:21:18 +01:00
parent f2cbf64a07
commit 96b48b2360

View file

@ -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