Commit a33423ea authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #28351: sfl_config: use range-based for loop

parent df8643fd
......@@ -91,8 +91,8 @@ ConfigTree::getSections() const
{
std::list<std::string> sections;
for (SectionMap::const_iterator iter = sections_.begin(); iter != sections_.end(); ++iter)
sections.push_back(iter->first);
for (const auto &iter : sections_)
sections.push_back(iter.first);
return sections;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment