From c5658b84b236367e0aaeb06bdcdfd7270b54d4ad Mon Sep 17 00:00:00 2001 From: MistEO Date: Mon, 27 Mar 2023 18:00:08 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BD=9C=E7=94=A8=E5=9F=9F=E5=95=A5?= =?UTF-8?q?=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaCore/Controller/Controller.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/MaaCore/Controller/Controller.h b/src/MaaCore/Controller/Controller.h index d7e6108b75..c04db54bc7 100644 --- a/src/MaaCore/Controller/Controller.h +++ b/src/MaaCore/Controller/Controller.h @@ -76,19 +76,19 @@ namespace asst void clear_info() noexcept; void callback(AsstMsg msg, const json::value& details); - AsstCallback m_callback; + AsstCallback m_callback = nullptr; std::minstd_rand m_rand_engine; - asst::PlatformType m_platform_type = PlatformType::Native; + PlatformType m_platform_type = PlatformType::Native; - asst::ControllerType m_controller_type = ControllerType::Minitouch; + ControllerType m_controller_type = ControllerType::Minitouch; std::shared_ptr m_controller = nullptr; std::unique_ptr m_controller_factory = nullptr; - std::shared_ptr m_scale_proxy = nullptr; + std::shared_ptr m_scale_proxy = nullptr; std::string m_uuid;