mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-29 16:40:39 +08:00
cleanup another warning
This commit is contained in:
@@ -70,7 +70,7 @@ public:
|
||||
}
|
||||
|
||||
std::array<uint64_t, 4> state() const {
|
||||
return {m_a, m_b, m_c, m_counter};
|
||||
return {{m_a, m_b, m_c, m_counter}};
|
||||
}
|
||||
|
||||
void state(std::array<uint64_t, 4> const& s) {
|
||||
|
||||
+1
-1
@@ -63,7 +63,7 @@ using Perturb = std::function<void (std::vector<uint64_t> &)>;
|
||||
// --------------------------------------------------------------------------
|
||||
// --------------------------------------------------------------------------
|
||||
template<class Set, size_t N>
|
||||
void test(const char *name, Perturb perturb1, Perturb perturb2)
|
||||
void test(const char *name, Perturb perturb1, Perturb /* perturb2 */)
|
||||
{
|
||||
//phmap::btree_set<uint64_t> s;
|
||||
Set s;
|
||||
|
||||
Reference in New Issue
Block a user