Remove a dynamic_cast.
* src/tgbaalgos/ltl2tgba_fm.cc (translate_ratexp): Replace a dynamic cast by a call to kind().
This commit is contained in:
parent
614810c0db
commit
775438422d
1 changed files with 1 additions and 1 deletions
|
|
@ -807,7 +807,7 @@ namespace spot
|
|||
res_ |= label & tail_bdd;
|
||||
}
|
||||
|
||||
if (dynamic_cast<constant*>(dest) == 0)
|
||||
if (dest->kind() != formula::Constant)
|
||||
{
|
||||
// If the destination is not a constant, it
|
||||
// means it can have successors. Fusion the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue