From bb7a5b9cab39cf7bb6f41bc5726ba89da6a225dc Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 19 Sep 2023 20:05:49 +0800 Subject: [PATCH] 1 --- server/gameserver/roommgr.cc | 2 +- server/gameserver/roommgr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/gameserver/roommgr.cc b/server/gameserver/roommgr.cc index 6f4de947..fbb2d9a3 100644 --- a/server/gameserver/roommgr.cc +++ b/server/gameserver/roommgr.cc @@ -842,7 +842,7 @@ std::shared_ptr RoomMgr::GetHisCustomRoom(const std::string& room_ } void RoomMgr::SendGetCustomBattleData(std::shared_ptr join_msg, - std::function)> cb) + std::function)> cb) { } diff --git a/server/gameserver/roommgr.h b/server/gameserver/roommgr.h index d26819a4..6146a5bf 100644 --- a/server/gameserver/roommgr.h +++ b/server/gameserver/roommgr.h @@ -119,7 +119,7 @@ class RoomMgr : public a8::Singleton std::shared_ptr GetCustomRoom(const std::string& room_uuid); std::shared_ptr GetHisCustomRoom(const std::string& room_uuid); void SendGetCustomBattleData(std::shared_ptr join_msg, - std::function)> cb); + std::function)> cb); private: int current_room_idx_ = 0;