Fix error: no match for operator== (operand types are QAtomicInt and int).

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2018-09-18 17:24:00 +03:00
parent 60b323cf8e
commit 26d79e5ca2

View File

@ -808,7 +808,7 @@ const QHash<QString, QSharedPointer<VInternalVariable> > *VContainer::DataVariab
//---------------------------------------------------------------------------------------------------------------------
VContainerData::~VContainerData()
{
if (ref == 0)
if (ref.load() == 0)
{
--VContainer::copyCounter[nspace];
}