aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2018-04-02 18:31:40 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2018-04-02 18:31:52 +0000
commita5bca13095aa835d61f872081fc0cc2fa53552f3 (patch)
tree3f4ce332a537159a48f4a37da47599590034baa5 /src/wallet
parent9d9c4185fadaf243bb97c226e2fef16b65299699 (diff)
downloadbitcoin-a5bca13095aa835d61f872081fc0cc2fa53552f3.tar.xz
Bugfix: Include <memory> for std::unique_ptr
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/db.h1
-rw-r--r--src/wallet/test/wallet_test_fixture.h2
-rw-r--r--src/wallet/test/wallet_tests.cpp1
-rw-r--r--src/wallet/wallet.h1
4 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/db.h b/src/wallet/db.h
index 787135e400..067f7e6da2 100644
--- a/src/wallet/db.h
+++ b/src/wallet/db.h
@@ -15,6 +15,7 @@
#include <atomic>
#include <map>
+#include <memory>
#include <string>
#include <vector>
diff --git a/src/wallet/test/wallet_test_fixture.h b/src/wallet/test/wallet_test_fixture.h
index c03aec7f87..e694f2a56a 100644
--- a/src/wallet/test/wallet_test_fixture.h
+++ b/src/wallet/test/wallet_test_fixture.h
@@ -9,6 +9,8 @@
#include <wallet/wallet.h>
+#include <memory>
+
/** Testing setup and teardown for wallet.
*/
struct WalletTestingSetup: public TestingSetup {
diff --git a/src/wallet/test/wallet_tests.cpp b/src/wallet/test/wallet_tests.cpp
index 7e0881afd7..12b84ac744 100644
--- a/src/wallet/test/wallet_tests.cpp
+++ b/src/wallet/test/wallet_tests.cpp
@@ -4,6 +4,7 @@
#include <wallet/wallet.h>
+#include <memory>
#include <set>
#include <stdint.h>
#include <utility>
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index a4684c2935..faee047aa6 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -22,6 +22,7 @@
#include <algorithm>
#include <atomic>
#include <map>
+#include <memory>
#include <set>
#include <stdexcept>
#include <stdint.h>