diff options
author | Jesus Ramirez <jesus.rami.serra@gmail.com> | 2019-06-26 10:39:41 -0400 |
---|---|---|
committer | Lev Sizov <levsizov2015@outlook.com> | 2019-09-02 14:16:29 +0200 |
commit | 2cd4fd8972620737956aeeb4262209f8a446e3ee (patch) | |
tree | 373063be806047bfef91beee69730a9c39045c07 /tests/functional_tests/transactions_flow_test.cpp | |
parent | Merge pull request #5793 (diff) | |
download | monero-2cd4fd8972620737956aeeb4262209f8a446e3ee.tar.xz |
Changed the use of boost:value_initialized for C++ list initializer
Diffstat (limited to '')
-rw-r--r-- | tests/functional_tests/transactions_flow_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional_tests/transactions_flow_test.cpp b/tests/functional_tests/transactions_flow_test.cpp index 32b601d7a..81004da93 100644 --- a/tests/functional_tests/transactions_flow_test.cpp +++ b/tests/functional_tests/transactions_flow_test.cpp @@ -253,7 +253,7 @@ bool transactions_flow_test(std::string& working_folder, transfered_money += amount_to_tx; LOG_PRINT_L0("transferred " << amount_to_tx << ", i=" << i ); - tx_test_entry& ent = txs[get_transaction_hash(tx)] = boost::value_initialized<tx_test_entry>(); + tx_test_entry& ent = txs[get_transaction_hash(tx)] = tx_test_entry{}; ent.amount_transfered = amount_to_tx; ent.tx = tx; //if(i % transactions_per_second) |