Skip to content

Commit

Permalink
🐛 Fix for constexpr in C++14
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztof-jusiak committed May 2, 2023
1 parent 1df1c1a commit 8eb63a8
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 @@ -1551,7 +1551,7 @@ struct sm_impl : aux::conditional_t<aux::is_empty<typename TSM::sm>::value, aux:
}
}
template <class TMappings, class TEvent, class TDeps, class TSubs>
constexpr bool process_event_except_impl(const TEvent &event, TDeps &deps, TSubs &subs, aux::true_type) {
bool process_event_except_impl(const TEvent &event, TDeps &deps, TSubs &subs, aux::true_type) {
try {
return process_event_impl<TMappings>(event, deps, subs, states_t{}, aux::make_index_sequence<regions>{});
} catch (...) {
Expand Down

0 comments on commit 8eb63a8

Please sign in to comment.