diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2017-06-04 01:09:48 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2017-06-04 01:09:48 +0200 |
commit | 656dbd871ae5f460c6ae4506376b059ed41fb6bc (patch) | |
tree | e37b93c406ba17745fedb54be9593f43ae9d0127 /src/rpc | |
parent | f259263a7b11c6ff925851985ef0082b0a190a57 (diff) |
Perform member initialization in initialization lists where possible
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/server.h b/src/rpc/server.h index 1e984cbc0d..a893f49033 100644 --- a/src/rpc/server.h +++ b/src/rpc/server.h @@ -50,7 +50,7 @@ public: std::string URI; std::string authUser; - JSONRPCRequest() { id = NullUniValue; params = NullUniValue; fHelp = false; } + JSONRPCRequest() : id(NullUniValue), params(NullUniValue), fHelp(false) {} void parse(const UniValue& valRequest); }; |