From 4fc8fe0f09c3497a05f28ccb17a74bb7d2ba62cd Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Thu, 11 Apr 2024 11:27:16 +0000 Subject: [PATCH] feat support type --- src/sled/nonstd/fsm.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/sled/nonstd/fsm.h b/src/sled/nonstd/fsm.h index 828335e..20c5544 100644 --- a/src/sled/nonstd/fsm.h +++ b/src/sled/nonstd/fsm.h @@ -456,6 +456,9 @@ private: namespace sled { template -using Fsm = fsmlite::Fsm; -} +class Fsm : public fsmlite::Fsm { +public: + Fsm(State init_state = State()) : fsmlite::Fsm(init_state) {} +}; +}// namespace sled #endif