diff options
author | luigi1111 <luigi1111w@gmail.com> | 2023-11-06 09:34:37 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2023-11-06 09:34:37 -0500 |
commit | b0ea37a198ffa2355fa718a401ef80f3e64c4c33 (patch) | |
tree | 52ad1b6ed0c92b0784e6b12d56320d764ef963e7 | |
parent | Merge pull request #9042 (diff) | |
parent | core_tests: fix gcc7 compilation (diff) | |
download | monero-b0ea37a198ffa2355fa718a401ef80f3e64c4c33.tar.xz |
Merge pull request #9044
5443240 core_tests: fix gcc7 compilation (selsta)
-rw-r--r-- | tests/core_tests/wallet_tools.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/core_tests/wallet_tools.cpp b/tests/core_tests/wallet_tools.cpp index 5378b0254..ee29fdad1 100644 --- a/tests/core_tests/wallet_tools.cpp +++ b/tests/core_tests/wallet_tools.cpp @@ -4,7 +4,6 @@ #include "wallet_tools.h" #include <random> -#include <boost/assign.hpp> using namespace std; using namespace epee; @@ -39,7 +38,8 @@ void wallet_accessor_test::process_parsed_blocks(tools::wallet2 * wallet, uint64 void wallet_tools::process_transactions(tools::wallet2 * wallet, const std::vector<test_event_entry>& events, const cryptonote::block& blk_head, block_tracker &bt, const boost::optional<crypto::hash>& blk_tail) { - process_transactions(boost::assign::list_of(wallet), events, blk_head, bt, blk_tail); + std::vector<tools::wallet2*> wallet_vector = { wallet }; + process_transactions(wallet_vector, events, blk_head, bt, blk_tail); } void wallet_tools::process_transactions(const std::vector<tools::wallet2*>& wallets, const std::vector<test_event_entry>& events, const cryptonote::block& blk_head, block_tracker &bt, const boost::optional<crypto::hash>& blk_tail) @@ -56,7 +56,8 @@ void wallet_tools::process_transactions(const std::vector<tools::wallet2*>& wall } void wallet_tools::process_transactions(tools::wallet2 * wallet, const std::vector<const cryptonote::block*>& blockchain, const map_hash2tx_t & mtx, block_tracker &bt){ - process_transactions(boost::assign::list_of(wallet), blockchain, mtx, bt); + std::vector<tools::wallet2*> wallet_vector = { wallet }; + process_transactions(wallet_vector, blockchain, mtx, bt); } void wallet_tools::process_transactions(const std::vector<tools::wallet2*>& wallets, const std::vector<const cryptonote::block*>& blockchain, const map_hash2tx_t & mtx, block_tracker &bt) |