Fix HashSet adding item via move operation
This commit is contained in:
@@ -58,7 +58,7 @@ public:
|
||||
}
|
||||
|
||||
template<typename ItemType>
|
||||
FORCE_INLINE void Occupy(ItemType& item)
|
||||
FORCE_INLINE void Occupy(ItemType&& item)
|
||||
{
|
||||
Memory::MoveItems(&Item, &item, 1);
|
||||
_state = Occupied;
|
||||
|
||||
Reference in New Issue
Block a user