mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 15:37:55 -05:00
Match MxVariableTable::SetVariable to 100%
This commit is contained in:
parent
220ad5d537
commit
6b8dc8a0cc
1 changed files with 2 additions and 2 deletions
|
@ -180,10 +180,10 @@ inline void MxHashTable<T>::Resize()
|
|||
|
||||
switch (m_resizeOption) {
|
||||
case HASH_TABLE_OPT_EXPAND_ADD:
|
||||
m_numSlots = old_size + m_increaseAmount;
|
||||
m_numSlots += m_increaseAmount;
|
||||
break;
|
||||
case HASH_TABLE_OPT_EXPAND_MULTIPLY:
|
||||
m_numSlots = old_size * m_increaseFactor;
|
||||
m_numSlots *= m_increaseFactor;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue