diff options
author | fanquake <fanquake@gmail.com> | 2022-05-11 16:02:15 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-05-17 17:18:58 +0100 |
commit | 7aa40f55636be565441a9e0af8de0a346bfa4da2 (patch) | |
tree | cec851bcb9c00ea0d37da6b96cc5c65f2366862a /src/netaddress.cpp | |
parent | d5d40d59f8d12cf53c5ad1ce9710f3f108cec386 (diff) |
refactor: use C++11 default initializers
Diffstat (limited to 'src/netaddress.cpp')
-rw-r--r-- | src/netaddress.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netaddress.cpp b/src/netaddress.cpp index 9717f7abce..ca148bfa51 100644 --- a/src/netaddress.cpp +++ b/src/netaddress.cpp @@ -98,7 +98,7 @@ bool CNetAddr::SetNetFromBIP155Network(uint8_t possible_bip155_net, size_t addre * * @note This address is considered invalid by CNetAddr::IsValid() */ -CNetAddr::CNetAddr() {} +CNetAddr::CNetAddr() = default; void CNetAddr::SetIP(const CNetAddr& ipIn) { |