Use C++11 default member initializers

This commit is contained in:
MarcoFalke
2019-01-05 12:02:12 +01:00
parent f7e182a973
commit fa2510d5c1
15 changed files with 35 additions and 82 deletions

View File

@@ -2317,14 +2317,6 @@ void CConnman::SetNetworkActive(bool active)
CConnman::CConnman(uint64_t nSeed0In, uint64_t nSeed1In) : nSeed0(nSeed0In), nSeed1(nSeed1In)
{
fNetworkActive = true;
setBannedIsDirty = false;
fAddressesInitialized = false;
nLastNodeId = 0;
nPrevNodeCount = 0;
nSendBufferMaxSize = 0;
nReceiveFloodSize = 0;
flagInterruptMsgProc = false;
SetTryNewOutboundPeer(false);
Options connOptions;