From afa80ed4decd11e4c10e625cd7c70184f7414c6d Mon Sep 17 00:00:00 2001 From: hyzboy Date: Sat, 5 Oct 2024 21:41:35 +0800 Subject: [PATCH] remove few codes from _Object.h --- inc/hgl/type/_Object.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/inc/hgl/type/_Object.h b/inc/hgl/type/_Object.h index 3ed55e2..376e8ef 100644 --- a/inc/hgl/type/_Object.h +++ b/inc/hgl/type/_Object.h @@ -1,8 +1,5 @@ #pragma once -#include -#include - namespace hgl { /** @@ -10,9 +7,6 @@ namespace hgl */ class _Object ///最终基类 { - private: - - unsigned int object_attribute_bits=0; ///<对象属性位集合 public: @@ -38,7 +32,4 @@ namespace hgl //此代码取自AngelScript,感谢 #define GetMemberFuncPointer(c,m) MethodPtr::Convert((void (c::*)())(&c::m)) - - template inline constexpr const size_t GetTypeHash(){return typeid(T).hash_code();} ///<取得一个类型的哈希值 - template inline constexpr const char * GetTypeName(){return typeid(T).name();} ///<取得一个类型的名称 }//namespace hgl