aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-06-04 01:09:48 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2017-06-04 01:09:48 +0200
commit656dbd871ae5f460c6ae4506376b059ed41fb6bc (patch)
treee37b93c406ba17745fedb54be9593f43ae9d0127 /src/wallet
parentf259263a7b11c6ff925851985ef0082b0a190a57 (diff)
downloadbitcoin-656dbd871ae5f460c6ae4506376b059ed41fb6bc.tar.xz
Perform member initialization in initialization lists where possible
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 11b2f7a663..a8bde8359c 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;