From d2339eb4a1dd66380f98e1f993700c982f0f3882 Mon Sep 17 00:00:00 2001 From: MouriNaruto Date: Tue, 17 Sep 2024 21:59:13 +0800 Subject: [PATCH] Tidy the code format for Mile.Helpers.CppBase. --- Mile.Helpers/Mile.Helpers.CppBase.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Mile.Helpers/Mile.Helpers.CppBase.h b/Mile.Helpers/Mile.Helpers.CppBase.h index 73c74c8..ca33cfc 100644 --- a/Mile.Helpers/Mile.Helpers.CppBase.h +++ b/Mile.Helpers/Mile.Helpers.CppBase.h @@ -100,10 +100,12 @@ namespace Mile class DisableCopyConstruction { protected: + DisableCopyConstruction() = default; ~DisableCopyConstruction() = default; private: + DisableCopyConstruction( const DisableCopyConstruction&) = delete; DisableCopyConstruction& operator=( @@ -116,10 +118,12 @@ namespace Mile class DisableMoveConstruction { protected: + DisableMoveConstruction() = default; ~DisableMoveConstruction() = default; private: + DisableMoveConstruction( const DisableMoveConstruction&&) = delete; DisableMoveConstruction& operator=( @@ -137,6 +141,7 @@ namespace Mile DisableMoveConstruction { private: + bool m_Canceled; TaskHandlerType m_TaskHandler;