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:
parent
0621e0e9c5
commit
650bb7ed03
4 changed files with 41 additions and 5 deletions
|
|
@ -277,7 +277,6 @@ namespace spot
|
|||
init_number_ = g_.new_univ_dests(dst_begin, dst_end);
|
||||
}
|
||||
|
||||
template<class I>
|
||||
void set_univ_init_state(const std::initializer_list<state_num>& il)
|
||||
{
|
||||
set_univ_init_state(il.begin(), il.end());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue