Ver Fonte

core: cleanup

Daniele Bartolini há 5 anos atrás
pai
commit
68fec2dc66
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/core/containers/hash_map.inl

+ 1 - 1
src/core/containers/hash_map.inl

@@ -395,7 +395,7 @@ HashMap<TKey, TValue, Hash, KeyEqual>& HashMap<TKey, TValue, Hash, KeyEqual>::op
 			const u32 index = other._index[i].index;
 			if (index != hash_map_internal::FREE && !hash_map_internal::is_deleted(index))
 			{
-				new (&_data[i]) PAIR(TKey, TValue)(*_allocator);
+				new (&_data[i]) Entry(*_allocator);
 				_data[i] = other._data[i];
 			}
 		}