diff options
-rw-r--r-- | src/nfc/qnearfieldtarget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nfc/qnearfieldtarget.cpp b/src/nfc/qnearfieldtarget.cpp index 2905c380..a9f9d01f 100644 --- a/src/nfc/qnearfieldtarget.cpp +++ b/src/nfc/qnearfieldtarget.cpp @@ -226,7 +226,7 @@ bool QNearFieldTarget::RequestId::isValid() const int QNearFieldTarget::RequestId::refCount() const { if (d) - return d->ref.load(); + return d->ref.loadRelaxed(); return 0; } |