aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2016-02-01 17:50:46 -0700
committerAndrew Kelley <superjoe30@gmail.com>2016-02-01 17:50:46 -0700
commit0b94c83debd00846fb878f87323bdf16aa07bffc (patch)
tree905bafb505bda87177a030e5f726e47c14d4f845 /src
parent06f6acb4b19cab55dd8637a41c11501bf8e7158e (diff)
downloadzig-0b94c83debd00846fb878f87323bdf16aa07bffc.tar.gz
zig-0b94c83debd00846fb878f87323bdf16aa07bffc.zip
remove the constructor of hash map
Diffstat (limited to 'src')
-rw-r--r--src/hash_map.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash_map.hpp b/src/hash_map.hpp
index 74e56e7298..7f2d39ef86 100644
--- a/src/hash_map.hpp
+++ b/src/hash_map.hpp
@@ -151,7 +151,7 @@ private:
int _size;
int _max_distance_from_start_index;
// this is used to detect bugs where a hashtable is edited while an iterator is running.
- uint32_t _modification_count = 0;
+ uint32_t _modification_count;
void init_capacity(int capacity) {
_capacity = capacity;