refactor: use C++11 default initializers

This commit is contained in:
fanquake 2022-05-11 16:02:15 +01:00
parent d5d40d59f8
commit 7aa40f5563
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1
39 changed files with 57 additions and 88 deletions

View file

@ -2654,7 +2654,7 @@ static int64_t nTimePostConnect = 0;
struct PerBlockConnectTrace {
CBlockIndex* pindex = nullptr;
std::shared_ptr<const CBlock> pblock;
PerBlockConnectTrace() {}
PerBlockConnectTrace() = default;
};
/**
* Used to track blocks whose transactions were applied to the UTXO state as a