We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff8292c commit 1d0cbd5Copy full SHA for 1d0cbd5
include/hash_set_m.h
@@ -5,7 +5,7 @@
5
// Fast hashtable (hash_set, hash_map) based on open addressing hashing for C++11 and up
6
//
7
// This version supports full size_t hashing (calculates hash of each elements after any reallocation/resize)
8
-// version 1.3.2
+// version 1.3.3
9
10
// https://github.com/hordi/hash
11
@@ -873,7 +873,7 @@ class hash_base
873
if (!_capacity)
874
_elements = reinterpret_cast<int8_t*>(&_size);
875
if (!r._capacity)
876
- r._elements = reinterpret_cast<int8_t*>(r._size);
+ r._elements = reinterpret_cast<int8_t*>(&r._size);
877
}
878
879
#ifdef _MSC_VER
0 commit comments