Skip to content

Commit

Permalink
Merge bitcoin#12859: Bugfix: Include <memory> for std::unique_ptr
Browse files Browse the repository at this point in the history
a5bca13 Bugfix: Include <memory> for std::unique_ptr (Luke Dashjr)

Pull request description:

  Not sure why all these includes were missing, but it's breaking builds for some users:

  https://bugs.gentoo.org/show_bug.cgi?id=652142

  (Added to all files with a reference to `std::unique_ptr`)

Tree-SHA512: 8a2c67513ca07b9bb52c34e8a20b15e56f8af2530310d9ee9b0a69694dd05e02e7a3683f14101a2685d457672b56addec591a0bb83900a0eb8e2a43d43200509
  • Loading branch information
laanwj authored and PastaPastaPasta committed Jun 9, 2020
1 parent 7184453 commit d86462c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/allocator_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

#include <memory>

#include <memory>

#include <boost/test/unit_test.hpp>

BOOST_FIXTURE_TEST_SUITE(allocator_tests, BasicTestingSetup)
Expand Down
2 changes: 2 additions & 0 deletions src/test/dbwrapper_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

#include <memory>

#include <memory>

#include <boost/test/unit_test.hpp>

// Test if a string consists entirely of null characters
Expand Down
2 changes: 2 additions & 0 deletions src/test/test_dash_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

#include <memory>

#include <memory>

#include <boost/test/unit_test.hpp>
#include <boost/test/unit_test_monitor.hpp>

Expand Down

0 comments on commit d86462c

Please sign in to comment.