英文语法修改Registry->Register

This commit is contained in:
2025-07-03 10:15:56 +08:00
parent 48383e5f63
commit d67a309f94
3 changed files with 5 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ namespace hgl
ElementCreater(const U8String &en){element_name=en;}
virtual ~ElementCreater()=default;
bool Registry(ElementCreater *ec);
bool Register(ElementCreater *ec);
public:
@@ -143,12 +143,12 @@ namespace hgl
{
cur_ec=nullptr;
Registry(root_ec);
Register(root_ec);
}
virtual ~ElementParseCreater()=default;
bool Registry (ElementCreater *ec);
bool Register (ElementCreater *ec);
public:

View File

@@ -4,7 +4,7 @@ namespace hgl
{
namespace xml
{
bool ElementCreater::Registry(ElementCreater *ec)
bool ElementCreater::Register(ElementCreater *ec)
{
if(!ec)return(false);

View File

@@ -4,7 +4,7 @@ namespace hgl
{
namespace xml
{
bool ElementParseCreater::Registry(ElementCreater *ec)
bool ElementParseCreater::Register(ElementCreater *ec)
{
if(!ec)return(false);