diff options
Diffstat (limited to 'src/set.hff')
| -rw-r--r-- | src/set.hff | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/set.hff b/src/set.hff index 82c213f..6f472b3 100644 --- a/src/set.hff +++ b/src/set.hff @@ -25,7 +25,7 @@ struct Set<T, Traits> { if self.count == self.N / 2 { free(self.set); self.set = xcalloc(self.N *= 2, sizeof int); - vec_each(p, i, self.buf, + vec_each(p, i, self.buf) { let h = Traits:hash(p); let j = h & (self.N - 1); for ;; { @@ -35,7 +35,7 @@ struct Set<T, Traits> { } j = _nexthash(&h) & (self.N - 1); } - ) + } } let h u32 = Traits:hash(x); |