Daniele Bartolini пре 9 година
родитељ
комит
7fe44074b0
1 измењених фајлова са 0 додато и 1 уклоњено
  1. 0 1
      src/core/containers/hash_map.h

+ 0 - 1
src/core/containers/hash_map.h

@@ -118,7 +118,6 @@ namespace hash_map_internal
 
 
 				std::swap(hash, m._index[hash_i].hash);
 				std::swap(hash, m._index[hash_i].hash);
 				m._index[hash_i].index = 0x0123abcd;
 				m._index[hash_i].index = 0x0123abcd;
-				PAIR(TKey, TValue) empty(*m._allocator);
 				PAIR(TKey, TValue) tmp(*m._allocator);
 				PAIR(TKey, TValue) tmp(*m._allocator);
 				memcpy(&tmp, &m._data[hash_i].pair, sizeof(new_item));
 				memcpy(&tmp, &m._data[hash_i].pair, sizeof(new_item));
 				memcpy(&m._data[hash_i].pair, &new_item, sizeof(new_item));
 				memcpy(&m._data[hash_i].pair, &new_item, sizeof(new_item));