Commit df44616d authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

twa_graph: remove the useless set_init_state(const state*)

* spot/twa/twagraph.hh: Here.
* NEWS: Mention the change.
parent 2e763a08
...@@ -54,6 +54,10 @@ New in spot 2.3.1.dev (not yet released) ...@@ -54,6 +54,10 @@ New in spot 2.3.1.dev (not yet released)
explicit. The implicit converion to bool (and, via bool, to int) explicit. The implicit converion to bool (and, via bool, to int)
was a source of bugs. was a source of bugs.
- spot::twa_graph::set_init_state(const state*) has been removed.
It was never used. You always want to use
spot::twa_graph::set_init_state(unsigned) in practice.
New in spot 2.3.1 (2017-02-20) New in spot 2.3.1 (2017-02-20)
......
...@@ -261,11 +261,6 @@ namespace spot ...@@ -261,11 +261,6 @@ namespace spot
init_number_ = s; init_number_ = s;
} }
void set_init_state(const state* s)
{
set_init_state(state_number(s));
}
template<class I> template<class I>
void set_univ_init_state(I dst_begin, I dst_end) void set_univ_init_state(I dst_begin, I dst_end)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment