...
This commit is contained in:
@@ -318,7 +318,7 @@ struct MccMountStateInit : MccMountStateBase<MountT> {
|
||||
{
|
||||
this->enterLog(event);
|
||||
|
||||
auto mount = event.mount();
|
||||
MountT& mount = event.mount();
|
||||
mount.initMount();
|
||||
|
||||
// switch to IDLE state
|
||||
@@ -403,13 +403,13 @@ struct MccMountStateIDLE : MccMountStateBase<MountT> {
|
||||
std::pair<MccMountEventStop<MountT>, MccMountStateIDLE<MountT>>,
|
||||
std::pair<MccMountEventShutdown<MountT>, MccMountStateShutdown<MountT>>>;
|
||||
|
||||
template <std::derived_from<MccMountStateBase<MountT>> EvT>
|
||||
template <std::derived_from<MccMountEventBase<MountT>> EvT>
|
||||
void exit(EvT& event)
|
||||
{
|
||||
this->exitLog(event);
|
||||
}
|
||||
|
||||
template <std::derived_from<MccMountStateBase<MountT>> EvT>
|
||||
template <std::derived_from<MccMountEventBase<MountT>> EvT>
|
||||
void enter(EvT& event)
|
||||
{
|
||||
this->enterLog(event);
|
||||
|
||||
Reference in New Issue
Block a user