refactor(Core/Misc): add braces and impove codestyle (#6402)

This commit is contained in:
Kargatum 2021-06-25 00:50:18 +07:00 committed by GitHub
parent 33c271cc7c
commit 3c24b511f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
72 changed files with 1486 additions and 401 deletions

View file

@ -22,7 +22,9 @@ namespace Acore
void decReference()
{
if (!--m_refs)
{
delete this;
}
}
private:
std::atomic_long m_refs;