Skip to content

Commit 9e02ef6

Browse files
committed
Foo
1 parent 15b8727 commit 9e02ef6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Code/max/Containers/StateMachine/StateMachine.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ namespace StateMachine {
2424
template<typename T>
2525
constexpr void AttemptTransition(T input) noexcept {
2626
auto transition_happened = false;
27-
auto i = size_t{0};
28-
auto attempt_transition = [this, &transition_happened, &i, &input](auto&& arg) {
27+
auto attempt_transition = [this, &transition_happened, &input](auto&& arg) {
2928
if (!transition_happened && current_node_index_ == arg.this_node_) {
3029
auto possible_new_node_index = arg.AttemptTransition(input);
3130
if (possible_new_node_index) {

0 commit comments

Comments
 (0)