diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-11-14 18:30:58 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-11-14 18:30:58 +0000 |
| commit | 9ac52127753f6c64fe947c2c29373ece147c0e1f (patch) | |
| tree | ff7fcf634176b2d9729515256d4480a94a672dab | |
| parent | f48aeab5c4d545ec7f5d0bf103631726cdda4a0d (diff) | |
| download | monzero-core-9ac52127753f6c64fe947c2c29373ece147c0e1f.tar.gz monzero-core-9ac52127753f6c64fe947c2c29373ece147c0e1f.tar.xz monzero-core-9ac52127753f6c64fe947c2c29373ece147c0e1f.zip | |
unit_tests: fix build after wallet2 list/vector change
| -rw-r--r-- | tests/unit_tests/output_selection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit_tests/output_selection.cpp b/tests/unit_tests/output_selection.cpp index 6ff73b107..ccca0b799 100644 --- a/tests/unit_tests/output_selection.cpp +++ b/tests/unit_tests/output_selection.cpp @@ -76,7 +76,7 @@ TEST(select_outputs, one_out_of_N) tools::wallet2::transfer_container transfers = make_transfers_container(10); transfers[6].m_block_height = 700; std::vector<size_t> unused_indices({0, 1, 2, 3, 4, 5, 6, 7, 8, 9}); - std::list<size_t> selected; + std::vector<size_t> selected; SELECT(2); PICK(6); } @@ -93,7 +93,7 @@ TEST(select_outputs, order) transfers[3].m_block_height = 716; transfers[4].m_block_height = 701; std::vector<size_t> unused_indices({0, 1, 2, 3, 4}); - std::list<size_t> selected; + std::vector<size_t> selected; SELECT(0); PICK(3); // first the one that's far away PICK(2); // then the one that's close |
