From 72cdedf989f4e9070afe69ef04de7be383bd9676 Mon Sep 17 00:00:00 2001 From: "HuYingzhuo(hugo/hyzboy)" Date: Wed, 13 Sep 2023 12:13:44 +0800 Subject: [PATCH] layout codes in Pool.h --- inc/hgl/type/Pool.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/hgl/type/Pool.h b/inc/hgl/type/Pool.h index 242ae2a..858285d 100644 --- a/inc/hgl/type/Pool.h +++ b/inc/hgl/type/Pool.h @@ -10,7 +10,7 @@ namespace hgl * 默认情部下空闲队列使用Queue模板管理(先入先出,总是使用最早扔进去的数据。可手动换成Stack运行性能更好,但逻辑性能更差。), * 活动队列使用List模板管理(无序)。 */ - template class _Pool ///数据池 + template class _Pool ///数据池 { protected: @@ -214,6 +214,6 @@ namespace hgl } };//template class _Pool - template using Pool =_Pool, Queue, DataLifetimeCallback>; ///<数据池模板 + template using Pool =_Pool, Queue, DataLifetimeCallback>; ///<数据池模板 template using ObjectPool =_Pool, ObjectQueue, ObjectLifetimeCallback>; ///<对象池 }//namespace hgl