aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2017-06-06 16:40:48 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2017-06-06 17:00:19 -0700
commitbe3e042c20e2f3449b7b55d1cab0a80b0c6f00af (patch)
tree625ebebf787ed1a54bc8014bab3dfcdca407b342 /src/wallet
parent75e898c094eea533d1dfaf141c6afccc3072c49f (diff)
parent656dbd871ae5f460c6ae4506376b059ed41fb6bc (diff)
downloadbitcoin-be3e042c20e2f3449b7b55d1cab0a80b0c6f00af.tar.xz
Merge #10523: Perform member initialization in initialization lists where possible
656dbd871 Perform member initialization in initialization lists where possible (practicalswift) Tree-SHA512: 048380f4da23ab1eaaf471801a01dbd76f2235afb686c1489b30a6bac109195134afc83414b8378d3482a9042d537ec62d30136dadb9347cf06b07fb5c693208
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/wallet.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index a3974bf00b..8276b29a55 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -136,10 +136,7 @@ public:
std::string name;
std::string purpose;
- CAddressBookData()
- {
- purpose = "unknown";
- }
+ CAddressBookData() : purpose("unknown") {}
typedef std::map<std::string, std::string> StringMap;
StringMap destdata;