From 26d79e5ca2655e3d2eadb955268622108d63c189 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 18 Sep 2018 17:24:00 +0300 Subject: [PATCH] Fix error: no match for operator== (operand types are QAtomicInt and int). --HG-- branch : release --- src/libs/vpatterndb/vcontainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vpatterndb/vcontainer.cpp b/src/libs/vpatterndb/vcontainer.cpp index cbfb0c5cc..e91e73ead 100644 --- a/src/libs/vpatterndb/vcontainer.cpp +++ b/src/libs/vpatterndb/vcontainer.cpp @@ -808,7 +808,7 @@ const QHash > *VContainer::DataVariab //--------------------------------------------------------------------------------------------------------------------- VContainerData::~VContainerData() { - if (ref == 0) + if (ref.load() == 0) { --VContainer::copyCounter[nspace]; }