twa_graph: fix set_univ_init_state() with initializer_list

Reported by Thomas Medioni.

* spot/twa/twagraph.hh (set_univ_init_state): Remove the bogus
template parameter.
* tests/core/twagraph.cc, tests/core/tgbagraph.test: Test the method.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2017-03-07 13:36:49 +01:00
parent a66e7704d8
commit 2c9f201c0d
4 changed files with 41 additions and 5 deletions

3
NEWS
View file

@ -35,6 +35,9 @@ New in spot 2.3.1.dev (not yet released)
would always report 'weak' automata. Both variants now report the
most precise between 'weak' or 'terminal'.
- spot::twa_graph::set_univ_init_state() could not be called with
an initializer list.
Deprecation notices:
- Using --format=%a to print the number of atomic propositions in