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("<