This commit is contained in:
sunkaicheng
2019-08-25 20:12:14 +08:00
parent 37794ee20b
commit 3653f03683
+1 -1
View File
@@ -2329,7 +2329,7 @@ class parallel_hash_set
KeyArg<IsTransparent<Eq>::value && IsTransparent<Hash>::value>;
static_assert(N <= 12, "N = 12 means 4096 hash tables!");
constexpr static size_t num_tables = 1 N;
constexpr static size_t num_tables = 1 << N;
constexpr static size_t mask = num_tables - 1;
public: