mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
clang-tidy, qt: Fix modernize-use-default-member-init in headers
See https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-default-member-init.html
This commit is contained in:
@@ -18,11 +18,11 @@ class WalletModel;
|
||||
class RecentRequestEntry
|
||||
{
|
||||
public:
|
||||
RecentRequestEntry() : nVersion(RecentRequestEntry::CURRENT_VERSION), id(0) { }
|
||||
RecentRequestEntry() : nVersion(RecentRequestEntry::CURRENT_VERSION) {}
|
||||
|
||||
static const int CURRENT_VERSION = 1;
|
||||
int nVersion;
|
||||
int64_t id;
|
||||
int64_t id{0};
|
||||
QDateTime date;
|
||||
SendCoinsRecipient recipient;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user