Skip to content

Commit 24e03a0

Browse files
committed
:speeadboat: [dispatch_policy] Changing the default dispatch policy to switch/case from jump-table
1 parent 020be9b commit 24e03a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/sml.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1378,7 +1378,7 @@ struct sm_policy {
13781378
using logger_policy = decltype(get_policy<no_policy, policies::logger_policy__>((aux::inherit<TPolicies...> *)0));
13791379
using testing_policy = decltype(get_policy<no_policy, policies::testing_policy__>((aux::inherit<TPolicies...> *)0));
13801380
using dont_instantiate_statemachine_class_policy = decltype(get_policy<no_policy, policies::dont_instantiate_statemachine_class_policy__>((aux::inherit<TPolicies...> *)0));
1381-
using default_dispatch_policy = policies::jump_table;
1381+
using default_dispatch_policy = policies::switch_stm;
13821382
using dispatch_policy =
13831383
decltype(get_policy<default_dispatch_policy, policies::dispatch_policy__>((aux::inherit<TPolicies...> *)0));
13841384
template <class T>

0 commit comments

Comments
 (0)