Fixing build for the millionth time

This commit is contained in:
Dynamitos committed 2020-08-11 22:38:19 +02:00
1 parent 839be06f90
commit 6814587b54
12 files changed
+34 -26

No files matched your search

+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>