From e5cf6c9b3049fed1b25c0af45bb6c3e4ef584c6d Mon Sep 17 00:00:00 2001 From: hyzboy Date: Thu, 21 Nov 2024 01:22:50 +0800 Subject: [PATCH] Fixed a bug. --- inc/hgl/type/Collection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/hgl/type/Collection.h b/inc/hgl/type/Collection.h index 7719006..817f3e2 100644 --- a/inc/hgl/type/Collection.h +++ b/inc/hgl/type/Collection.h @@ -148,7 +148,7 @@ namespace hgl virtual bool Contains(const void *value) const{return indexOf(value)!=-1;} ///<判断当前数据是否是其成员 template - bool ContainsValue(const T &value)const{return indexOf(value)!=-1;} ///<判断当前数据是否是其成员 + bool ContainsValue(const T &value)const{return indexOfValue(value)!=-1;} ///<判断当前数据是否是其成员 virtual int64 RemoveCondition(CheckElement *condition,int max_count=1); ///<按条件移除