use Contains instead of IsMember/IsExist

This commit is contained in:
2024-09-30 23:28:55 +08:00
parent 0a2ca9272e
commit d286de5b68
14 changed files with 35 additions and 31 deletions

View File

@@ -18,7 +18,7 @@ namespace hgl
OnlyWriteLock owl(log_list);
if(log_list->IsExist(log)) //重复添加
if(log_list->Contains(log)) //重复添加
return(false);
log_list->Add(log);