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/net_types.h | |
parent | bd5d1688b4311e21c0e0ff89a3ae02ef7d0543b8 (diff) | |
download | bitcoin-3333bae9b2a6c1ee2314d33361c93944c12001f9.tar.xz |
tidy: modernize-use-equals-default
Diffstat (limited to 'src/net_types.h')
-rw-r--r-- | src/net_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_types.h b/src/net_types.h index b9e019d8fd..21ef835b4e 100644 --- a/src/net_types.h +++ b/src/net_types.h @@ -19,7 +19,7 @@ public: int64_t nCreateTime{0}; int64_t nBanUntil{0}; - CBanEntry() {} + CBanEntry() = default; explicit CBanEntry(int64_t nCreateTimeIn) : nCreateTime{nCreateTimeIn} {} |