diff --git a/include/boost/sml.hpp b/include/boost/sml.hpp index 6ad7b5bf..297929ef 100644 --- a/include/boost/sml.hpp +++ b/include/boost/sml.hpp @@ -3254,7 +3254,7 @@ front::event> unexpected_event __BOOST_SML_VT_INI template front::event> exception __BOOST_SML_VT_INIT; template -using completion = back::completion; +__BOOST_SML_UNUSED front::event> completion __BOOST_SML_VT_INIT; using anonymous = back::anonymous; using initial = back::initial; #if !(defined(_MSC_VER) && !defined(__clang__)) diff --git a/test/ft/actions_process_n_defer.cpp b/test/ft/actions_process_n_defer.cpp index f79fdb46..c3696ddd 100644 --- a/test/ft/actions_process_n_defer.cpp +++ b/test/ft/actions_process_n_defer.cpp @@ -142,7 +142,7 @@ test process_queue_runs_completion_for_popped_event_type = [] { return make_transition_table( *q0_state + event / (process(queued1{}), process(queued2{})) = q1_state , q1_state + event = q2_state - , q2_state + event> = q3_state + , q2_state + completion = q3_state , q2_state + event = wrong_state , q3_state + event = done_state ); @@ -178,8 +178,8 @@ test defer_queue_runs_completion_for_popped_event_type = [] { *d0_state + event / defer , d0_state + event = d1_state , d1_state + event = d2_state - , d2_state + event> = done_state - , d2_state + event> = wrong_state + , d2_state + completion = done_state + , d2_state + completion = wrong_state ); // clang-format on } diff --git a/test/ft/transitions.cpp b/test/ft/transitions.cpp index b8996ed8..9d0cc3ca 100644 --- a/test/ft/transitions.cpp +++ b/test/ft/transitions.cpp @@ -95,7 +95,7 @@ test completion_transition_runs_before_anonymous = [] { // clang-format off return make_transition_table( *idle + event = s1 - ,s1 + event> / [this] { calls += "completion|"; } = s2 + ,s1 + completion / [this] { calls += "completion|"; } = s2 ,s1 / [this] { calls += "anonymous_s1|"; } = s3 ,s2 / [this] { calls += "anonymous_s2|"; } = s4 );