Skip to content

Commit bfd4d0e

Browse files
committed
Add missing const in History state constructor signature
1 parent fac95fd commit bfd4d0e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/cpp_event_framework/Statemachine.hxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,8 +413,8 @@ public:
413413
* @brief Construct a new History State
414414
*/
415415
constexpr HistoryState(const char* name, typename State::HandlerType handler, StatePtr parent, StatePtr initial,
416-
std::span<typename State::EntryExitType> on_entry,
417-
std::span<typename State::EntryExitType> on_exit) noexcept
416+
std::span<const typename State::EntryExitType> on_entry,
417+
std::span<const typename State::EntryExitType> on_exit) noexcept
418418
: State(name, handler, parent, initial, on_entry, on_exit, EFlags::kNone)
419419
{
420420
}

0 commit comments

Comments
 (0)