aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/cryptonote_tx_utils.cpp
diff options
context:
space:
mode:
authorJesus Ramirez <jesus.rami.serra@gmail.com>2019-06-26 10:39:41 -0400
committerLev Sizov <levsizov2015@outlook.com>2019-09-02 14:16:29 +0200
commit2cd4fd8972620737956aeeb4262209f8a446e3ee (patch)
tree373063be806047bfef91beee69730a9c39045c07 /src/cryptonote_core/cryptonote_tx_utils.cpp
parent98af2e954b78dc7607d0236a9db84b2143a33a90 (diff)
downloadmonzero-core-2cd4fd8972620737956aeeb4262209f8a446e3ee.tar.gz
monzero-core-2cd4fd8972620737956aeeb4262209f8a446e3ee.tar.xz
monzero-core-2cd4fd8972620737956aeeb4262209f8a446e3ee.zip
Changed the use of boost:value_initialized for C++ list initializer
Diffstat (limited to 'src/cryptonote_core/cryptonote_tx_utils.cpp')
-rw-r--r--src/cryptonote_core/cryptonote_tx_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/cryptonote_tx_utils.cpp b/src/cryptonote_core/cryptonote_tx_utils.cpp
index 4cf71e558..955d6a4b0 100644
--- a/src/cryptonote_core/cryptonote_tx_utils.cpp
+++ b/src/cryptonote_core/cryptonote_tx_utils.cpp
@@ -647,7 +647,7 @@ namespace cryptonote
)
{
//genesis block
- bl = boost::value_initialized<block>();
+ bl = {};
blobdata tx_bl;
bool r = string_tools::parse_hexstr_to_binbuff(genesis_tx, tx_bl);