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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 48 additions and 56 deletions

View file

@ -11,9 +11,10 @@
#include "RealmSocket.h"
#include "Log.h"
RealmSocket::Session::Session() { }
RealmSocket::Session::~Session() { }
RealmSocket::Session::Session() = default;
RealmSocket::Session::~Session() = default;
RealmSocket::RealmSocket() :
input_buffer_(4096), session_(nullptr),

View file

@ -46,7 +46,7 @@ public:
typedef std::map<std::string, Realm> RealmMap;
RealmList();
~RealmList() { }
~RealmList() = default;
static RealmList* instance();