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

@ -36,9 +36,7 @@ namespace ACE_Based
}
//! Destroy a LockedQueue.
virtual ~LockedQueue()
{
}
virtual ~LockedQueue() = default;
//! Adds an item to the queue.
void add(const T& item)

View file

@ -18,7 +18,7 @@ namespace acore
class Runnable
{
public:
virtual ~Runnable() {}
virtual ~Runnable() = default;
virtual void run() = 0;
void incReference() { ++m_refs; }