summaryrefslogtreecommitdiff
path: root/src/core/chatServer.hpp
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-06-13 20:19:22 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-06-13 20:23:03 +0800
commit8ee8e55ff2b085762dad5ab41269448e7a91757f (patch)
treeec1ed6b4944ca1fc4f1adbf67a255912e23a516c /src/core/chatServer.hpp
parent23492ea6f58762914a91516be6a9c180969178a2 (diff)
internal: shortened smart pointer types
Diffstat (limited to 'src/core/chatServer.hpp')
-rw-r--r--src/core/chatServer.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/chatServer.hpp b/src/core/chatServer.hpp
index 00d2979..806030a 100644
--- a/src/core/chatServer.hpp
+++ b/src/core/chatServer.hpp
@@ -1,4 +1,4 @@
-#include <memory>
+#include "../misc/memory.hpp"
#include <thread>
class CChatServer {
@@ -17,4 +17,4 @@ class CChatServer {
std::jthread m_sessionManagerThread;
};
-inline std::unique_ptr<CChatServer> g_pChatServer;
+inline UP<CChatServer> g_pChatServer;