diff options
Diffstat (limited to 'src/state/ready_state.hpp')
-rw-r--r-- | src/state/ready_state.hpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/state/ready_state.hpp b/src/state/ready_state.hpp index 2243143..bf1e160 100644 --- a/src/state/ready_state.hpp +++ b/src/state/ready_state.hpp @@ -2,6 +2,13 @@ #include "activating_state.hpp" #include "basic_state.hpp" +#include "logger.hpp" + +#include <chrono> +#include <memory> +#include <optional> +#include <string> +#include <system_error> struct ReadyState : public BasicStateT<ReadyState> { @@ -50,7 +57,8 @@ struct ReadyState : public BasicStateT<ReadyState> [[noreturn]] std::unique_ptr<BasicState> handleEvent(UnmountEvent event) { LogMsg(Logger::Error, "InvalidĀ event: ", event.eventName); - throw sdbusplus::exception::SdBusError(EPERM, "Operation not permitted in ready state"); + throw sdbusplus::exception::SdBusError( + EPERM, "Operation not permitted in ready state"); } template <class AnyEvent> |