mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-15 22:32:37 -03:00
bd59c4395c
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
23 lines
665 B
C++
23 lines
665 B
C++
// Copyright (c) 2016-2017 The Bitcoin Core developers
|
|
// Distributed under the MIT software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#ifndef BITCOIN_WALLET_TEST_WALLET_TEST_FIXTURE_H
|
|
#define BITCOIN_WALLET_TEST_WALLET_TEST_FIXTURE_H
|
|
|
|
#include <test/test_bitcoin.h>
|
|
|
|
#include <wallet/wallet.h>
|
|
|
|
#include <memory>
|
|
|
|
/** Testing setup and teardown for wallet.
|
|
*/
|
|
struct WalletTestingSetup: public TestingSetup {
|
|
explicit WalletTestingSetup(const std::string& chainName = CBaseChainParams::MAIN);
|
|
~WalletTestingSetup();
|
|
|
|
CWallet m_wallet;
|
|
};
|
|
|
|
#endif // BITCOIN_WALLET_TEST_WALLET_TEST_FIXTURE_H
|