diff --git a/examples/insert_bench.cc b/examples/insert_bench.cc index 8881a3a..af75b35 100644 --- a/examples/insert_bench.cc +++ b/examples/insert_bench.cc @@ -70,7 +70,7 @@ public: } std::array state() const { - return {m_a, m_b, m_c, m_counter}; + return {{m_a, m_b, m_c, m_counter}}; } void state(std::array const& s) { diff --git a/examples/matt.cc b/examples/matt.cc index 205e167..51afcce 100644 --- a/examples/matt.cc +++ b/examples/matt.cc @@ -63,7 +63,7 @@ using Perturb = std::function &)>; // -------------------------------------------------------------------------- // -------------------------------------------------------------------------- template -void test(const char *name, Perturb perturb1, Perturb perturb2) +void test(const char *name, Perturb perturb1, Perturb /* perturb2 */) { //phmap::btree_set s; Set s;