Fix prototype of ltl_simplifier::ltl_simplifier.

* src/ltlvisit/simplify.hh, src/ltlvisit/simplify.cc: Here.
This commit is contained in:
Alexandre Duret-Lutz 2012-09-07 11:31:23 +02:00
parent a80356e440
commit 7274ca2bb7
2 changed files with 5 additions and 4 deletions

View file

@ -115,10 +115,10 @@ namespace spot
{ {
} }
ltl_simplifier_cache(bdd_dict* d, ltl_simplifier_options opt) ltl_simplifier_cache(bdd_dict* d, const ltl_simplifier_options& opt)
: dict(d), options(opt), lcc(d, true, true, false, false) : dict(d), options(opt), lcc(d, true, true, false, false)
{ {
opt.containment_checks |= opt.containment_checks_stronger; options.containment_checks |= options.containment_checks_stronger;
} }
void void
@ -4199,7 +4199,8 @@ namespace spot
cache_ = new ltl_simplifier_cache(d); cache_ = new ltl_simplifier_cache(d);
} }
ltl_simplifier::ltl_simplifier(ltl_simplifier_options& opt, bdd_dict* d) ltl_simplifier::ltl_simplifier(const ltl_simplifier_options& opt,
bdd_dict* d)
{ {
if (!d) if (!d)
{ {

View file

@ -73,7 +73,7 @@ namespace spot
{ {
public: public:
ltl_simplifier(bdd_dict* dict = 0); ltl_simplifier(bdd_dict* dict = 0);
ltl_simplifier(ltl_simplifier_options& opt, bdd_dict* dict = 0); ltl_simplifier(const ltl_simplifier_options& opt, bdd_dict* dict = 0);
~ltl_simplifier(); ~ltl_simplifier();
/// Simplify the formula \a f (using options supplied to the /// Simplify the formula \a f (using options supplied to the