Skip to content

Commit

Permalink
Merge pull request #1420 from evoskuil/master
Browse files Browse the repository at this point in the history
Remove dead includes, test pop_front() against deque.
  • Loading branch information
evoskuil authored Mar 12, 2024
2 parents 6f110f3 + 0724b6d commit 5b0cceb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions include/bitcoin/system/impl/machine/stack.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@
#define LIBBITCOIN_SYSTEM_MACHINE_STACK_IPP

#include <iterator>
#include <list>
#include <type_traits>
#include <utility>
#include <variant>
#include <vector>
#include <bitcoin/system/data/data.hpp>
#include <bitcoin/system/define.hpp>
#include <bitcoin/system/machine/number.hpp>
Expand Down
4 changes: 2 additions & 2 deletions test/data/collection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
#include "../test.hpp"
#include <array>
#include <list>
#include <deque>
#include <vector>

BOOST_AUTO_TEST_SUITE(collection_tests)
Expand Down Expand Up @@ -191,7 +191,7 @@ BOOST_AUTO_TEST_CASE(collection__pop__multiple__popped_expected)
}

// pop_front
using data_queue = std::list<uint8_t>;
using data_queue = std::deque<uint8_t>;

BOOST_AUTO_TEST_CASE(collection__pop_front__empty__empty_default)
{
Expand Down

0 comments on commit 5b0cceb

Please sign in to comment.