From 00b6dffbf3a256daf1571e75c527d468220305cf Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 22 Dec 2022 09:23:03 +0800 Subject: [PATCH] 1 --- server/gameserver/app.cc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/server/gameserver/app.cc b/server/gameserver/app.cc index b1d5b88f..54634007 100644 --- a/server/gameserver/app.cc +++ b/server/gameserver/app.cc @@ -119,18 +119,9 @@ static void SavePerfLog() f8::HttpClientPool::Instance()->max_user_request_delay = 0; } -template -void SafeCallStaticInit1(...) { }; - -template -void SafeCallStaticInit1(int) { T::StaticInit1(); }; bool App::Init(int argc, char* argv[]) { - { - SafeCallStaticInit1(0); - - } #if 0 { std::string data = "${master.name} [aa ]${image.id:1000} bb${}cc";