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
|
|
@ -167,7 +167,7 @@ namespace spot
|
|||
mutable unsigned init_number_;
|
||||
|
||||
public:
|
||||
tgba_digraph(bdd_dict_ptr dict)
|
||||
tgba_digraph(const bdd_dict_ptr& dict)
|
||||
: dict_(dict),
|
||||
all_acceptance_conditions_(bddfalse),
|
||||
neg_acceptance_conditions_(bddtrue),
|
||||
|
|
@ -432,7 +432,7 @@ namespace spot
|
|||
|
||||
};
|
||||
|
||||
inline tgba_digraph_ptr make_tgba_digraph(bdd_dict_ptr dict)
|
||||
inline tgba_digraph_ptr make_tgba_digraph(const bdd_dict_ptr& dict)
|
||||
{
|
||||
return std::make_shared<tgba_digraph>(dict);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue