mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-26 14:13:55 -04:00
Match MxVariableTable::SetVariable to 100%
This commit is contained in:
parent
220ad5d537
commit
6b8dc8a0cc
@ -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…
x
Reference in New Issue
Block a user