Work around old g++ versions.
* src/tgbaalgos/isweakscc.cc (cycle_found): Add a const_cast.
This commit is contained in:
parent
13025d6cc8
commit
c6840d81e4
1 changed files with 3 additions and 1 deletions
|
|
@ -49,7 +49,9 @@ namespace spot
|
|||
if (i->ts->first == start)
|
||||
break;
|
||||
++i;
|
||||
assert(i != dfs_.rend());
|
||||
// The const cast is here to please old g++ versions.
|
||||
// At least version 4.0 needs it.
|
||||
assert(i != const_cast<const dfs_stack&>(dfs_).rend());
|
||||
}
|
||||
if (acc != aut_->all_acceptance_conditions())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue