refactor(Core): apply clang-tidy modernize-use-equals-default (#3834)

This commit is contained in:
Francesco Borzì
2020-12-07 19:21:55 +01:00
committed by GitHub
parent 0b8ec1f6ee
commit 1cf39b3d22
35 changed files with 48 additions and 56 deletions

View File

@@ -188,7 +188,7 @@ AuthSocket::AuthSocket(RealmSocket& socket) :
}
// Close patch file descriptor before leaving
AuthSocket::~AuthSocket() { }
AuthSocket::~AuthSocket() = default;
// Accept the connection
void AuthSocket::OnAccept()

View File

@@ -16,7 +16,7 @@
class RealmAcceptor : public ACE_Acceptor<RealmSocket, ACE_SOCK_Acceptor>
{
public:
RealmAcceptor() { }
RealmAcceptor() = default;
virtual ~RealmAcceptor()
{
if (reactor())