mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
refactor: use C++11 default initializers
This commit is contained in:
parent
d5d40d59f8
commit
7aa40f5563
39 changed files with 57 additions and 88 deletions
|
|
@ -930,10 +930,10 @@ class submitblock_StateCatcher final : public CValidationInterface
|
|||
{
|
||||
public:
|
||||
uint256 hash;
|
||||
bool found;
|
||||
bool found{false};
|
||||
BlockValidationState state;
|
||||
|
||||
explicit submitblock_StateCatcher(const uint256 &hashIn) : hash(hashIn), found(false), state() {}
|
||||
explicit submitblock_StateCatcher(const uint256 &hashIn) : hash(hashIn), state() {}
|
||||
|
||||
protected:
|
||||
void BlockChecked(const CBlock& block, const BlockValidationState& stateIn) override {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue