From 48383e5f63928bab43320c406219365850507246 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Thu, 22 May 2025 01:41:42 +0800 Subject: [PATCH] =?UTF-8?q?GetObjectFromList=E6=94=B9=E5=90=8D=E4=B8=BAGet?= =?UTF-8?q?ObjectFromMap?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/hgl/util/plist/PAttrib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/hgl/util/plist/PAttrib.h b/inc/hgl/util/plist/PAttrib.h index 7a9a6b5..b60267c 100644 --- a/inc/hgl/util/plist/PAttrib.h +++ b/inc/hgl/util/plist/PAttrib.h @@ -204,7 +204,7 @@ namespace hgl break; } - PAttribBase *attr=GetObjectFromList(pa_map,name); + PAttribBase *attr=GetObjectFromMap(pa_map,name); if(attr) attr->ParseFromString(value); @@ -285,7 +285,7 @@ namespace hgl // return Add(pa_name,str); //} - PAttribBase *Get(const PString &name){return GetObjectFromList(pa_map,name);} + PAttribBase *Get(const PString &name){return GetObjectFromMap(pa_map,name);} void Delete(const PString &name){pa_map.DeleteByKey(name);}