aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-09-24 10:08:44 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-09-24 10:08:44 -0500
commitee6e84962721b0a47e2aea4f9cbdb6e796332441 (patch)
tree1f51a24f62ed6aa8d937c5183a669f0a85b2188b /src/cryptonote_basic
parentMerge pull request #5875 (diff)
parentMake null hash constants constexpr (diff)
downloadmonero-ee6e84962721b0a47e2aea4f9cbdb6e796332441.tar.xz
Merge pull request #5877
2cd4fd8 Changed the use of boost:value_initialized for C++ list initializer (JesusRami) 4ad191f Removed unused boost/value_init header (whyamiroot) 928f4be Make null hash constants constexpr (whyamiroot)
Diffstat (limited to 'src/cryptonote_basic')
-rw-r--r--src/cryptonote_basic/miner.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cryptonote_basic/miner.cpp b/src/cryptonote_basic/miner.cpp
index 2dad2795e..856cccdeb 100644
--- a/src/cryptonote_basic/miner.cpp
+++ b/src/cryptonote_basic/miner.cpp
@@ -30,7 +30,6 @@
#include <sstream>
#include <numeric>
-#include <boost/utility/value_init.hpp>
#include <boost/interprocess/detail/atomic.hpp>
#include <boost/algorithm/string.hpp>
#include "misc_language.h"
@@ -100,7 +99,7 @@ namespace cryptonote
miner::miner(i_miner_handler* phandler):m_stop(1),
- m_template(boost::value_initialized<block>()),
+ m_template{},
m_template_no(0),
m_diffic(0),
m_thread_index(0),