aboutsummaryrefslogtreecommitdiff
path: root/src/common/Logging/Log.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-06-10 13:12:33 +0200
committerShauren <shauren.trinity@gmail.com>2025-06-10 13:12:33 +0200
commit7657a289d7981a556f8768134ee55c868df0b04c (patch)
treef22ece86bcef52a6b08ca73164afe96512dfa19a /src/common/Logging/Log.h
parent564637b6a068fdfcd6e651cab0cd88af6beb11f2 (diff)
Core/Misc: Kill copy/move constructors for singleton classes
Diffstat (limited to 'src/common/Logging/Log.h')
-rw-r--r--src/common/Logging/Log.h3
1 files changed, 2 insertions, 1 deletions
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);