From 663bcec87cccc76ed761648c9d617e0aad1a85c5 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 24 Oct 2022 09:56:19 +0800 Subject: [PATCH] 1 --- server/gameserver/matchpool.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/gameserver/matchpool.h b/server/gameserver/matchpool.h index ae7c5a74..5c57f6f4 100644 --- a/server/gameserver/matchpool.h +++ b/server/gameserver/matchpool.h @@ -13,8 +13,6 @@ class MatchPool : public a8::Singleton friend class a8::Singleton; public: - a8::TimerAttacher timer_attacher; - void Init(); void UnInit(); @@ -31,6 +29,7 @@ private: void RemoveSocket(int socket_handle); private: + a8::TimerAttacher timer_attacher_; std::map team_hash_; std::map> socket_hash_; };