Rename formula::ref and formula::unref as formula::clone
and formula::destroy. * src/ltlast/atomic_prop.cc, src/ltlast/automatop.cc, src/ltlast/binop.cc, src/ltlast/formula.hh, src/ltlast/formula.cc, src/ltlast/multop.cc, src/ltlast/unop.cc, src/ltlenv/declenv.cc, src/ltlvisit/basicreduce.cc, src/ltlvisit/clone.cc, src/ltlvisit/destroy.cc, src/ltlvisit/nenoform.cc, src/ltlvisit/randomltl.cc, src/ltlvisit/reduce.cc, src/tgbatest/randtgba.cc: Adjust.
This commit is contained in:
parent
8e4e692e7f
commit
b0888257f8
16 changed files with 63 additions and 54 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2004, 2005, 2008 Laboratoire d'Informatique de Paris
|
||||
// Copyright (C) 2004, 2005, 2008, 2009 Laboratoire d'Informatique de Paris
|
||||
// 6 (LIP6), département Systèmes Répartis Coopératifs (SRC),
|
||||
// Université Pierre et Marie Curie.
|
||||
//
|
||||
|
|
@ -876,7 +876,8 @@ main(int argc, char** argv)
|
|||
spot::ltl::atomic_prop_collect(f);
|
||||
for (spot::ltl::atomic_prop_set::iterator i = tmp->begin();
|
||||
i != tmp->end(); ++i)
|
||||
apf->insert(dynamic_cast<spot::ltl::atomic_prop*>((*i)->ref()));
|
||||
apf->insert(dynamic_cast<spot::ltl::atomic_prop*>
|
||||
((*i)->clone()));
|
||||
spot::ltl::destroy(f);
|
||||
delete tmp;
|
||||
}
|
||||
|
|
@ -890,7 +891,7 @@ main(int argc, char** argv)
|
|||
|
||||
for (spot::ltl::atomic_prop_set::iterator i = ap->begin();
|
||||
i != ap->end(); ++i)
|
||||
apf->insert(dynamic_cast<spot::ltl::atomic_prop*>((*i)->ref()));
|
||||
apf->insert(dynamic_cast<spot::ltl::atomic_prop*>((*i)->clone()));
|
||||
|
||||
if (!opt_S)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue