mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-26 09:54:18 +00:00
Add initial .clang-tidy and fixes
This commit is contained in:
@@ -27,7 +27,7 @@ class ViewLODList : public LODList<ViewLOD> {
|
||||
|
||||
protected:
|
||||
ViewLODList(size_t capacity);
|
||||
~ViewLODList();
|
||||
~ViewLODList() override;
|
||||
|
||||
public:
|
||||
inline int AddRef();
|
||||
@@ -133,8 +133,9 @@ inline int ViewLODList::AddRef()
|
||||
inline int ViewLODList::Release()
|
||||
{
|
||||
assert(m_refCount > 0);
|
||||
if (!--m_refCount)
|
||||
if (!--m_refCount) {
|
||||
m_owner->Destroy(this);
|
||||
}
|
||||
return m_refCount;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user