c++11: more range-based for

* src/ltlvisit/simplify.cc, src/tgbaalgos/replayrun.cc: Here.
This commit is contained in:
Alexandre Duret-Lutz 2014-01-27 17:45:33 +01:00
parent b4c125c2b9
commit e0bbc2655d
2 changed files with 100 additions and 131 deletions

View file

@ -95,9 +95,8 @@ namespace spot
std::ostringstream msg;
if (o != seen.end())
{
std::set<int>::const_iterator d;
for (d = o->second.begin(); d != o->second.end(); ++d)
msg << " == " << *d;
for (auto d: o->second)
msg << " == " << d;
o->second.insert(serial);
s->destroy();
s = o->first;