File tree Expand file tree Collapse file tree
Code/max/Containers/StateMachine Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ namespace StateMachine {
4444
4545 auto node = max::Containers::StateMachine::MakeNode (std::move (range_transition), std::move (string_transition));
4646
47- auto new_node_index = node.AttemptTransition (1 );
47+ auto new_node_index = node.AttemptTransition (uint32_t { 1 } );
4848
4949 CurrentTest.MAX_TESTING_ASSERT ( new_node_index == 2 );
5050 CurrentTest.MAX_TESTING_ASSERT ( range_callback_called );
@@ -71,7 +71,7 @@ namespace StateMachine {
7171
7272 auto node = max::Containers::StateMachine::MakeNode (std::move (range_transition), std::move (string_transition));
7373
74- auto new_node_index = node.AttemptTransition (2 );
74+ auto new_node_index = node.AttemptTransition (uint32_t { 2 } );
7575
7676 CurrentTest.MAX_TESTING_ASSERT ( !new_node_index );
7777 CurrentTest.MAX_TESTING_ASSERT ( !range_callback_called );
You can’t perform that action at this time.
0 commit comments