- const auto* e2_action = E.get_transition_for_handle(e2);
- if (const auto handler = handlers.find(e2_action->type_); handler != handlers.end()) {
- return handler->second(E, e1, e2_action);
+ const auto* other_transition = E.get_transition_for_handle(e1);
+ const auto* t2 = E.get_transition_for_handle(e2);
+ if (const auto handler = handlers.find(t2->type_); handler != handlers.end()) {
+ return handler->second(E, other_transition, t2);