Warn unused (#327)

* comply with unused warnings

* fix flakiness and add test for transitions

* mark flaky test

* duplicate const char * in State constructor

* linters

* correct year in license

* mark flaky test
This commit is contained in:
Karsten Knese 2017-05-25 19:52:50 -07:00 committed by GitHub
parent 5777bbee79
commit 708903e5df
5 changed files with 118 additions and 16 deletions

View file

@ -90,17 +90,13 @@ Transition::label() const
State
Transition::start_state() const
{
return State(
transition_handle_->start->id,
transition_handle_->start->label);
return State(transition_handle_->start);
}
State
Transition::goal_state() const
{
return State(
transition_handle_->goal->id,
transition_handle_->goal->label);
return State(transition_handle_->goal);
}
} // namespace rclcpp_lifecycle