|
|
@@ -106,8 +106,7 @@ namespace hash_map_internal
|
|
|
|
|
|
const u32 hash = key_hash<TKey, Hash>(key);
|
|
|
u32 hash_i = hash & m._mask;
|
|
|
- u32 dist = 0;
|
|
|
- for(;;)
|
|
|
+ for (u32 dist = 0;;)
|
|
|
{
|
|
|
if (m._index[hash_i].index == FREE)
|
|
|
return END_OF_LIST;
|
|
|
@@ -129,8 +128,7 @@ namespace hash_map_internal
|
|
|
new_item.second = value;
|
|
|
|
|
|
u32 hash_i = hash & m._mask;
|
|
|
- u32 dist = 0;
|
|
|
- for(;;)
|
|
|
+ for (u32 dist = 0;;)
|
|
|
{
|
|
|
if (m._index[hash_i].index == FREE)
|
|
|
goto INSERT_AND_RETURN;
|