updated codes

This commit is contained in:
2023-08-14 20:02:15 +08:00
parent f3f6fcef88
commit ff819d8a60
2 changed files with 2 additions and 2 deletions

View File

@@ -292,7 +292,7 @@ namespace hgl
void Clear(){pa_map.Clear();}
void ClearData(){pa_map.ClearData();}
void Enum(void (*enum_func)(const String<C> &key,PAttribBase<C> *value))
void Enum(void (*enum_func)(const String<C> &key,PAttribBase<C> * &value))
{
pa_map.Enum(enum_func);
};

View File

@@ -112,7 +112,7 @@ namespace hgl
virtual bool Init () override
{
attrs_list.ClearData();
attrs_list.Clear();
return(true);
}