Commit 7274ca2b authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

Fix prototype of ltl_simplifier::ltl_simplifier.

* src/ltlvisit/simplify.hh, src/ltlvisit/simplify.cc: Here.
parent a80356e4
......@@ -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)
{
opt.containment_checks |= opt.containment_checks_stronger;
options.containment_checks |= options.containment_checks_stronger;
}
void
......@@ -4199,7 +4199,8 @@ namespace spot
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)
{
......
......@@ -73,7 +73,7 @@ namespace spot
{
public:
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();
/// Simplify the formula \a f (using options supplied to the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment