summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qatomic_bootstrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/thread/qatomic_bootstrap.h')
-rw-r--r--src/corelib/thread/qatomic_bootstrap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/thread/qatomic_bootstrap.h b/src/corelib/thread/qatomic_bootstrap.h
index b463f817bd..27a67fb2ee 100644
--- a/src/corelib/thread/qatomic_bootstrap.h
+++ b/src/corelib/thread/qatomic_bootstrap.h
@@ -65,7 +65,7 @@ template <typename T> struct QAtomicOps: QGenericAtomicOps<QAtomicOps<T> >
return --_q_value != 0;
}
- static bool testAndSetRelaxed(T &_q_value, T expectedValue, T newValue, T *currentValue = 0) Q_DECL_NOTHROW
+ static bool testAndSetRelaxed(T &_q_value, T expectedValue, T newValue, T *currentValue = nullptr) Q_DECL_NOTHROW
{
if (currentValue)
*currentValue = _q_value;