refactor: use C++11 default initializers

This commit is contained in:
fanquake
2022-05-11 16:02:15 +01:00
parent d5d40d59f8
commit 7aa40f5563
39 changed files with 57 additions and 88 deletions

View File

@@ -62,7 +62,7 @@ struct TxLessThan
struct TransactionNotification
{
public:
TransactionNotification() {}
TransactionNotification() = default;
TransactionNotification(uint256 _hash, ChangeType _status, bool _showTransaction):
hash(_hash), status(_status), showTransaction(_showTransaction) {}