defrag_states: do not take the argument by rvalue ref
Reported by Michaël Cadilhac. * spot/graph/graph.hh, spot/twa/twagraph.hh: Take the renaming vector by reference, not rvalue reference. Document that twa_graph::defrag_states may modify the vector. Keep a deprecated version of the old prototype just in case. While there, also hide this method from Swig. * spot/twa/twagraph.cc: Simplify all calls to defrag_states(). * NEWS: Mention the change.
This commit is contained in:
parent
0b048e1c05
commit
7a56ae958e
5 changed files with 43 additions and 11 deletions
7
NEWS
7
NEWS
|
|
@ -189,6 +189,13 @@ New in spot 2.9.6.dev (not yet released)
|
|||
- Some formulas using ->, <->, or xor were not properly detected as
|
||||
purely universal or pure eventualities.
|
||||
|
||||
Deprecation notices:
|
||||
|
||||
- twa_graph::defrag_states() and digraph::defrag_states() now take
|
||||
the renaming vector by reference instead of rvalue reference. The
|
||||
old prototype is still supported but will emit a deprecation
|
||||
warning.
|
||||
|
||||
New in spot 2.9.6 (2021-01-18)
|
||||
|
||||
Build:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue