mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-02-16 19:50:52 -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) {
|
switch (m_resizeOption) {
|
||||||
case HASH_TABLE_OPT_EXPAND_ADD:
|
case HASH_TABLE_OPT_EXPAND_ADD:
|
||||||
m_numSlots = old_size + m_increaseAmount;
|
m_numSlots += m_increaseAmount;
|
||||||
break;
|
break;
|
||||||
case HASH_TABLE_OPT_EXPAND_MULTIPLY:
|
case HASH_TABLE_OPT_EXPAND_MULTIPLY:
|
||||||
m_numSlots = old_size * m_increaseFactor;
|
m_numSlots *= m_increaseFactor;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue