Apply clang-tidy modernize-use-equals-default check

This commit is contained in:
Joe Loser
2018-06-02 22:26:44 -04:00
committed by Nik Bougalis
parent 3aaf6d7857
commit 5f8037c55b
41 changed files with 47 additions and 173 deletions

View File

@@ -53,9 +53,7 @@ PeerSet::PeerSet (Application& app, uint256 const& hash,
assert ((mTimerInterval > 10ms) && (mTimerInterval < 30s));
}
PeerSet::~PeerSet ()
{
}
PeerSet::~PeerSet() = default;
bool PeerSet::insert (std::shared_ptr<Peer> const& ptr)
{