* src/tgbaalgos/gtec/ce.cc: Reinstall change from 2004-09-21.

This commit is contained in:
Alexandre Duret-Lutz 2004-10-15 13:33:50 +00:00
parent ed6db92642
commit 5176caf4d2
2 changed files with 5 additions and 3 deletions

View file

@ -1,5 +1,7 @@
2004-10-15 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbaalgos/gtec/ce.cc: Reinstall change from 2004-09-21.
Back out all Thomas's changes on emptiness checks since
2004-08-23. Some of these will need to be reintegrated more
slowly and cleanly.

View file

@ -295,9 +295,9 @@ namespace spot
todo.pop();
delete iter;
seen.erase(s);
if (todo.size())
if (!todo.empty())
{
assert(path.size());
assert(!path.empty());
path.pop_back();
}
continue;
@ -334,7 +334,7 @@ namespace spot
// If we already have a best path, let see if the current
// one is better.
if (best_path.size())
if (!best_path.empty())
{
// When comparing the merits of two paths, only the
// acceptance conditions we are trying the traverse