apcollect: Fix prototype.

* src/ltlvisit/apcollect.cc, src/ltlvisit/apcollect.hh: Take automaton
by reference.
This commit is contained in:
Alexandre Duret-Lutz 2014-08-23 18:33:10 +02:00
parent c3c02bfb44
commit 803e17bb8d
2 changed files with 3 additions and 2 deletions

View file

@ -72,7 +72,7 @@ namespace spot
}
bdd
atomic_prop_collect_as_bdd(const formula* f, const_tgba_ptr a)
atomic_prop_collect_as_bdd(const formula* f, const const_tgba_ptr& a)
{
spot::ltl::atomic_prop_set aps;
atomic_prop_collect(f, &aps);

View file

@ -64,7 +64,8 @@ namespace spot
/// \param a that automaton that should register the BDD variables used.
/// \return A conjunction the atomic propositions.
SPOT_API bdd
atomic_prop_collect_as_bdd(const formula* f, const_tgba_ptr a);
atomic_prop_collect_as_bdd(const formula* f,
const const_tgba_ptr& a);
/// @}
}