From 928f4be9531a40fcca92d9f878e08f8111254990 Mon Sep 17 00:00:00 2001 From: Lev Sizov Date: Thu, 5 Sep 2019 17:37:19 +0200 Subject: Make null hash constants constexpr Simplify m_template initialization in miner --- src/cryptonote_basic/miner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cryptonote_basic') diff --git a/src/cryptonote_basic/miner.cpp b/src/cryptonote_basic/miner.cpp index 602ced787..856cccdeb 100644 --- a/src/cryptonote_basic/miner.cpp +++ b/src/cryptonote_basic/miner.cpp @@ -99,7 +99,7 @@ namespace cryptonote miner::miner(i_miner_handler* phandler):m_stop(1), - m_template(block{}), + m_template{}, m_template_no(0), m_diffic(0), m_thread_index(0), -- cgit v1.2.3