diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2024-07-08 11:11:58 +0200 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2024-07-08 11:12:01 +0200 |
commit | 3333bae9b2a6c1ee2314d33361c93944c12001f9 (patch) | |
tree | 8c4e936cacd9df2c1290210a4642e5a587034400 /src/blockencodings.h | |
parent | bd5d1688b4311e21c0e0ff89a3ae02ef7d0543b8 (diff) |
tidy: modernize-use-equals-default
Diffstat (limited to 'src/blockencodings.h')
-rw-r--r-- | src/blockencodings.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blockencodings.h b/src/blockencodings.h index bc1d08ba5a..c92aa05e80 100644 --- a/src/blockencodings.h +++ b/src/blockencodings.h @@ -59,7 +59,7 @@ public: uint256 blockhash; std::vector<CTransactionRef> txn; - BlockTransactions() {} + BlockTransactions() = default; explicit BlockTransactions(const BlockTransactionsRequest& req) : blockhash(req.blockhash), txn(req.indexes.size()) {} @@ -109,7 +109,7 @@ public: /** * Dummy for deserialization */ - CBlockHeaderAndShortTxIDs() {} + CBlockHeaderAndShortTxIDs() = default; /** * @param[in] nonce This should be randomly generated, and is used for the siphash secret key |