Fix HashSet::Remove return value if empty
This commit is contained in:
@@ -480,7 +480,7 @@ public:
|
||||
bool Remove(const ItemType& item)
|
||||
{
|
||||
if (IsEmpty())
|
||||
return true;
|
||||
return false;
|
||||
FindPositionResult pos;
|
||||
FindPosition(item, pos);
|
||||
if (pos.ObjectIndex != -1)
|
||||
|
||||
Reference in New Issue
Block a user