mirror of
https://github.com/ziglang/zig.git
synced 2025-12-12 17:23:09 +00:00
remove the constructor of hash map
This commit is contained in:
parent
06f6acb4b1
commit
0b94c83deb
@ -151,7 +151,7 @@ private:
|
|||||||
int _size;
|
int _size;
|
||||||
int _max_distance_from_start_index;
|
int _max_distance_from_start_index;
|
||||||
// this is used to detect bugs where a hashtable is edited while an iterator is running.
|
// 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) {
|
void init_capacity(int capacity) {
|
||||||
_capacity = capacity;
|
_capacity = capacity;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user