From 60403ed6649f3088711ed22b79f790582c0c8e63 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Wed, 23 Oct 2024 13:10:19 +0800 Subject: [PATCH] use new Map<> --- src/AssetsSource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AssetsSource.cpp b/src/AssetsSource.cpp index 1ed8cbf..583bdd5 100644 --- a/src/AssetsSource.cpp +++ b/src/AssetsSource.cpp @@ -18,7 +18,7 @@ namespace hgl if(uri_short_name.IsEmpty()) return(false); - if(assets_source_map.KeyExist(uri_short_name)) + if(assets_source_map.ContainsKey(uri_short_name)) return(false); assets_source_map.Add(uri_short_name,as);