Enumerate getChildren() instead of _children.

This commit is contained in:
sheldon.teerlink 2016-03-16 15:03:33 -06:00
parent c9306a053f
commit c54513bb13
1 changed files with 1 additions and 1 deletions

View File

@ -903,7 +903,7 @@ bool Node::doEnumerate(std::string name, std::function<bool (Node *)> callback)
}
bool ret = false;
for (const auto& child : _children)
for (const auto& child : getChildren())
{
if (std::regex_match(child->_name, std::regex(searchName)))
{