summaryrefslogtreecommitdiffstats
path: root/src/remoteobjects/qremoteobjectpendingcall.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/remoteobjects/qremoteobjectpendingcall.h')
-rw-r--r--src/remoteobjects/qremoteobjectpendingcall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remoteobjects/qremoteobjectpendingcall.h b/src/remoteobjects/qremoteobjectpendingcall.h
index 086e5d8..b9709fc 100644
--- a/src/remoteobjects/qremoteobjectpendingcall.h
+++ b/src/remoteobjects/qremoteobjectpendingcall.h
@@ -140,7 +140,7 @@ struct QMetaTypeId< QRemoteObjectPendingReply<T> >
static int qt_metatype_id()
{
static QBasicAtomicInt metatype_id = Q_BASIC_ATOMIC_INITIALIZER(0);
- if (const int id = metatype_id.load())
+ if (const int id = metatype_id.loadRelaxed())
return id;
const char *tName = QMetaType::typeName(qMetaTypeId<T>());
Q_ASSERT(tName);