From 5a05612f537391db5cbf4001b93ecbef591e4c2e Mon Sep 17 00:00:00 2001 From: hyzboy Date: Sun, 22 Dec 2024 00:16:32 +0800 Subject: [PATCH] use find_str_in_array instead of string_serial_from_list --- inc/hgl/util/xml/ElementParseCreater.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/hgl/util/xml/ElementParseCreater.h b/inc/hgl/util/xml/ElementParseCreater.h index 9c31665..0f67dc6 100644 --- a/inc/hgl/util/xml/ElementParseCreater.h +++ b/inc/hgl/util/xml/ElementParseCreater.h @@ -97,7 +97,7 @@ namespace hgl if(!attrs_list.Get(key,info)) return default_value; - int result=string_serial_from_list(list,info.c_str()); + int result=find_str_in_array(list,info.c_str()); if(result==-1)return default_value; return result;