summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qauthenticator.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-10-31 10:36:57 +0100
committerQt by Nokia <qt-info@nokia.com>2011-10-31 11:29:08 +0100
commite277575987657aa07444eea9bee99769f039d3b0 (patch)
tree549c419596e340c8ad123df44fc75662ed47b2a7 /src/network/kernel/qauthenticator.cpp
parent5761d8546f3ff3802cae85ed5224c2bdd9524452 (diff)
Fix most warnings about assignments of QAtomicInt.
Change-Id: Ide409d72d2637b68ec2a85aaca4bc783a7e911e7 Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Diffstat (limited to 'src/network/kernel/qauthenticator.cpp')
-rw-r--r--src/network/kernel/qauthenticator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/kernel/qauthenticator.cpp b/src/network/kernel/qauthenticator.cpp
index 0423e2224d..8e64968346 100644
--- a/src/network/kernel/qauthenticator.cpp
+++ b/src/network/kernel/qauthenticator.cpp
@@ -264,7 +264,7 @@ void QAuthenticator::detach()
{
if (!d) {
d = new QAuthenticatorPrivate;
- d->ref = 1;
+ d->ref.store(1);
return;
}