mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Match MxVariableTable::SetVariable to 100%
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user