diff options
Diffstat (limited to 'src/PeerAddrEntry.cc')
| -rw-r--r-- | src/PeerAddrEntry.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/PeerAddrEntry.cc b/src/PeerAddrEntry.cc index 29493bd9..5591879e 100644 --- a/src/PeerAddrEntry.cc +++ b/src/PeerAddrEntry.cc @@ -44,11 +44,9 @@ PeerAddrEntry::PeerAddrEntry(const std::string& ipaddr, uint16_t port, } PeerAddrEntry::PeerAddrEntry(const PeerAddrEntry& c) - : ipaddr_(c.ipaddr_), port_(c.port_), lastUpdated_(c.lastUpdated_) -{ -} + = default; -PeerAddrEntry::~PeerAddrEntry() {} +PeerAddrEntry::~PeerAddrEntry() = default; PeerAddrEntry& PeerAddrEntry::operator=(const PeerAddrEntry& c) { |
