- for (list<pair<string, StateTimer::Counts> >::const_iterator i = sorted.begin(); i != sorted.end(); ++i) {
- add (std_to_wx(i->first), true);
- add (std_to_wx(dcp::locale_convert<string>(i->second.total_time)), false);
- add (std_to_wx(dcp::locale_convert<string>(i->second.number)), false);
- add (std_to_wx(dcp::locale_convert<string>(i->second.total_time / i->second.number)), false);
+ for (auto const& i: sorted) {
+ add (std_to_wx(i.first), true);
+ add (std_to_wx(dcp::locale_convert<string>(i.second.total_time)), false);
+ add (std_to_wx(dcp::locale_convert<string>(i.second.number)), false);
+ add (std_to_wx(dcp::locale_convert<string>(i.second.total_time / i.second.number)), false);