From 9f6f49a965fa42e39f0857c9bf9c82d3e21d75d4 Mon Sep 17 00:00:00 2001 From: greg Date: Mon, 1 Feb 2021 14:28:48 -0500 Subject: [PATCH] cleanup another warning --- examples/insert_bench.cc | 2 +- examples/matt.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;