mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Changed the use of boost:value_initialized for C++ list initializer
This commit is contained in:
parent
98af2e954b
commit
2cd4fd8972
13 changed files with 35 additions and 35 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue