From 624900586ce190cf2ba53befa5c64421150ea22b Mon Sep 17 00:00:00 2001 From: Nanako <469449812@qq.com> Date: Mon, 20 May 2024 20:59:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=AF=91=E8=AD=A6?= =?UTF-8?q?=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/misc/singleton/singleton.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/misc/singleton/singleton.h b/core/misc/singleton/singleton.h index 98fcb87..6693f30 100644 --- a/core/misc/singleton/singleton.h +++ b/core/misc/singleton/singleton.h @@ -48,5 +48,5 @@ public: extern "C" CORE_API inline T* get_##T() { return &g_##T; } #else #define DEFINE_SINGLETON_INSTANCE(T) \ - extern "C" CORE_API inline T* get_##T(); + extern "C" CORE_API T* get_##T(); #endif