Commit 5176caf4 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

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

parent ed6db926
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.
......
......@@ -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
......
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