Fixing build for the millionth time

This commit is contained in:
Dynamitos
2020-08-11 22:38:19 +02:00
parent 839be06f90
commit 6814587b54
12 changed files with 34 additions and 26 deletions
+2 -2
View File
@@ -93,7 +93,7 @@ public:
inline void removeRef()
{
refCount--;
if (refCount.load() == 0)
if (refCount == 0)
{
delete this;
}
@@ -105,7 +105,7 @@ public:
private:
T *handle;
std::atomic_uint64_t refCount;
uint64 refCount;
};
template <typename T>