This commit is contained in:
Timur A. Fatkhullin
2025-06-17 00:46:13 +03:00
parent 64a3544bd8
commit 02afd65d6f
5 changed files with 69 additions and 60 deletions

View File

@@ -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);