deprecate copy() in favor of make_twa_graph()
Fixes #258. * spot/twaalgos/copy.cc: Delete, and move the code... * spot/twa/twagraph.cc: ... in some anonymous namespace here. * spot/twa/twagraph.hh: Adjust the make_twa_graph() overload. * spot/twaalgos/copy.hh, NEWS: Mark copy() as deprecated and redirect to make_twa_graph(). * doc/org/upgrade2.org, doc/org/tut51.org, python/spot/impl.i, spot/twaalgos/dot.cc, spot/twaalgos/langmap.cc, tests/core/ikwiad.cc: Adjust callers. * spot/twaalgos/Makefile.am: Remove copy.cc.
This commit is contained in:
parent
1e9daa73f3
commit
8e685e00c9
12 changed files with 197 additions and 206 deletions
|
|
@ -39,7 +39,6 @@
|
|||
#include <spot/twaalgos/degen.hh>
|
||||
#include <spot/twa/twaproduct.hh>
|
||||
#include <spot/parseaut/public.hh>
|
||||
#include <spot/twaalgos/copy.hh>
|
||||
#include <spot/twaalgos/minimize.hh>
|
||||
#include <spot/taalgos/minimize.hh>
|
||||
#include <spot/twaalgos/neverclaim.hh>
|
||||
|
|
@ -1185,7 +1184,7 @@ checked_main(int argc, char** argv)
|
|||
}
|
||||
|
||||
if (dupexp)
|
||||
a = copy(a, spot::twa::prop_set::all());
|
||||
a = make_twa_graph(a, spot::twa::prop_set::all());
|
||||
|
||||
//TA, STA, GTA, SGTA and TGTA
|
||||
if (ta_opt || tgta_opt)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue