Skip to content

Commit

Permalink
:speeadboat: [dispatch_policy] Changing the default dispatch policy t…
Browse files Browse the repository at this point in the history
…o switch/case from jump-table
  • Loading branch information
kris-jusiak committed Mar 9, 2024
1 parent 020be9b commit 24e03a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/sml.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1378,7 +1378,7 @@ struct sm_policy {
using logger_policy = decltype(get_policy<no_policy, policies::logger_policy__>((aux::inherit<TPolicies...> *)0));
using testing_policy = decltype(get_policy<no_policy, policies::testing_policy__>((aux::inherit<TPolicies...> *)0));
using dont_instantiate_statemachine_class_policy = decltype(get_policy<no_policy, policies::dont_instantiate_statemachine_class_policy__>((aux::inherit<TPolicies...> *)0));
using default_dispatch_policy = policies::jump_table;
using default_dispatch_policy = policies::switch_stm;
using dispatch_policy =
decltype(get_policy<default_dispatch_policy, policies::dispatch_policy__>((aux::inherit<TPolicies...> *)0));
template <class T>
Expand Down

0 comments on commit 24e03a0

Please sign in to comment.