defaultenv: simplify usage
* src/ltlenv/defaultenv.hh, src/ltlenv/defaultenv.cc (require): Return an atomic_prop*, not a formula*. * src/bin/randaut.cc, src/bin/randltl.cc, src/ltlvisit/apcollect.cc, src/tgbatest/ltl2tgba.cc, src/tgbatest/randtgba.cc: Do not cast the return of require().
This commit is contained in:
parent
e6e416e1e1
commit
4f1535c8fe
7 changed files with 12 additions and 20 deletions
|
|
@ -61,8 +61,7 @@ namespace spot
|
|||
{
|
||||
std::ostringstream p;
|
||||
p << 'p' << i;
|
||||
res.insert(static_cast<const spot::ltl::atomic_prop*>
|
||||
(e.require(p.str())));
|
||||
res.insert(e.require(p.str()));
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue