Skip to content

Commit 461ff39

Browse files
committed
Fix history state constructor even more
1 parent bfd4d0e commit 461ff39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/cpp_event_framework/Statemachine.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ public:
415415
constexpr HistoryState(const char* name, typename State::HandlerType handler, StatePtr parent, StatePtr initial,
416416
std::span<const typename State::EntryExitType> on_entry,
417417
std::span<const typename State::EntryExitType> on_exit) noexcept
418-
: State(name, handler, parent, initial, on_entry, on_exit, EFlags::kNone)
418+
: State(name, handler, parent, initial, on_entry, on_exit, EFlags::kHistory)
419419
{
420420
}
421421
};

0 commit comments

Comments
 (0)