From 2ebd4b4ac93ad89cb5f74af0b01d06d30752b1aa Mon Sep 17 00:00:00 2001 From: hyzboy Date: Sat, 5 Oct 2024 22:35:10 +0800 Subject: [PATCH] few fix --- inc/hgl/type/object/Object.h | 6 ++++-- inc/hgl/type/object/ObjectAllocator.h | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/inc/hgl/type/object/Object.h b/inc/hgl/type/object/Object.h index b391a92..bfc92c9 100644 --- a/inc/hgl/type/object/Object.h +++ b/inc/hgl/type/object/Object.h @@ -1,4 +1,5 @@ #pragma once +#include #include namespace hgl @@ -37,10 +38,11 @@ namespace hgl \ friend struct DefaultObjectAllocator;\ \ - class_name(const ObjectBaseInfo &obi):Object(obi)=default; \ + using Object::Object; \ + /*class_name(const ObjectBaseInfo &obi):Object(obi)*/ \ /*{std::cout<<#class_name " Construct("<