Fix some bdd_dict_ptr not being passed by const reference.
* iface/dve2/dve2.cc, iface/dve2/dve2.hh, src/kripke/kripkeexplicit.cc, src/kripke/kripkeexplicit.hh, src/ltlvisit/contain.cc, src/ltlvisit/contain.hh, src/ltlvisit/simplify.cc, src/ltlvisit/simplify.hh, src/tgba/bddprint.cc, src/tgba/bddprint.hh, src/tgba/formula2bdd.cc, src/tgba/formula2bdd.hh, src/tgba/taatgba.cc, src/tgba/taatgba.hh, src/tgba/tgbagraph.hh, src/tgbaalgos/compsusp.cc, src/tgbaalgos/compsusp.hh, src/tgbaalgos/lbtt.cc, src/tgbaalgos/lbtt.hh, src/tgbaalgos/ltl2tgba_fm.cc, src/tgbaalgos/ltl2tgba_fm.hh, src/tgbaalgos/randomgraph.cc, src/tgbaalgos/randomgraph.hh, src/tgbaalgos/translate.cc, src/tgbaalgos/translate.hh, src/tgbaalgos/word.cc, src/tgbaalgos/word.hh: Pass shared_ptr to functions by const ref.
This commit is contained in:
parent
51151ab271
commit
bf6c906772
27 changed files with 62 additions and 61 deletions
|
|
@ -55,7 +55,7 @@ namespace spot
|
|||
setup_opt(opt);
|
||||
}
|
||||
|
||||
translator(bdd_dict_ptr dict, const option_map* opt = 0)
|
||||
translator(const bdd_dict_ptr& dict, const option_map* opt = 0)
|
||||
: postprocessor(opt)
|
||||
{
|
||||
build_simplifier(dict);
|
||||
|
|
@ -114,7 +114,7 @@ namespace spot
|
|||
|
||||
protected:
|
||||
void setup_opt(const option_map* opt);
|
||||
void build_simplifier(bdd_dict_ptr dict);
|
||||
void build_simplifier(const bdd_dict_ptr& dict);
|
||||
|
||||
private:
|
||||
ltl::ltl_simplifier* simpl_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue