mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 09:16:01 +08:00
Removing section of HashMap that didn't seem to work at all...
This commit is contained in:
parent
51f3306a72
commit
04e0556c4e
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user