Removing section of HashMap that didn't seem to work at all...

This commit is contained in:
Stephen Gowen 2017-11-06 11:47:08 -05:00
parent 51f3306a72
commit 04e0556c4e

View File

@ -176,20 +176,6 @@ namespace Spine
_header.next->prev = entry;
_header.next = entry;
}
else if (index > hash(_header.next->_key) && index < hash(_trailer.prev->_key))
{
size_t prev_index = index;
while (_hashTable[--prev_index].next != NULL)
{
// Empty
}
entry->next = _hashTable[prev_index].prev->next;
entry->prev = _hashTable[prev_index].prev;
_hashTable[prev_index].prev->next = entry;
entry->next->prev = entry;
}
else
{
entry->next = &_trailer;