mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
124 files changed.
This commit is contained in:
@@ -190,7 +190,12 @@ public:
|
||||
}
|
||||
FORCEINLINE bool Remove(const SetType& ElementToRemove)
|
||||
{
|
||||
Elements.RemoveAt(Find(ElementToRemove));
|
||||
auto Idx = Find(ElementToRemove);
|
||||
|
||||
if (Idx == -1)
|
||||
return false;
|
||||
|
||||
Elements.RemoveAt(Idx);
|
||||
return true;
|
||||
}
|
||||
FORCEINLINE bool Remove(int Index)
|
||||
|
||||
Reference in New Issue
Block a user