refactor(Core): apply clang-tidy modernize-use-equals-default (#3834)
This commit is contained in:
parent
0b8ec1f6ee
commit
1cf39b3d22
35 changed files with 48 additions and 56 deletions
|
|
@ -15,7 +15,7 @@ template <class TO, class FROM> class RefManager : public LinkedListHead
|
|||
{
|
||||
public:
|
||||
typedef LinkedListHead::Iterator< Reference<TO, FROM>> iterator;
|
||||
RefManager() { }
|
||||
RefManager() = default;
|
||||
virtual ~RefManager() { clearReferences(); }
|
||||
|
||||
Reference<TO, FROM>* getFirst() { return ((Reference<TO, FROM>*) LinkedListHead::getFirst()); }
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ protected:
|
|||
virtual void sourceObjectDestroyLink() = 0;
|
||||
public:
|
||||
Reference() { iRefTo = nullptr; iRefFrom = nullptr; }
|
||||
virtual ~Reference() { }
|
||||
virtual ~Reference() = default;
|
||||
|
||||
// Create new link
|
||||
void link(TO* toObj, FROM* fromObj)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue