From 7657a289d7981a556f8768134ee55c868df0b04c Mon Sep 17 00:00:00 2001 From: Shauren Date: Tue, 10 Jun 2025 13:12:33 +0200 Subject: Core/Misc: Kill copy/move constructors for singleton classes --- src/common/Logging/Log.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/common/Logging') diff --git a/src/common/Logging/Log.h b/src/common/Logging/Log.h index 99ad69b5d26..53a40d62c61 100644 --- a/src/common/Logging/Log.h +++ b/src/common/Logging/Log.h @@ -53,12 +53,13 @@ class TC_COMMON_API Log private: Log(); ~Log(); + + public: Log(Log const&) = delete; Log(Log&&) = delete; Log& operator=(Log const&) = delete; Log& operator=(Log&&) = delete; - public: static Log* instance(); void Initialize(Trinity::Asio::IoContext* ioContext); -- cgit v1.2.3