summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qshareddata_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/tools/qshareddata_impl.h')
-rw-r--r--src/corelib/tools/qshareddata_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qshareddata_impl.h b/src/corelib/tools/qshareddata_impl.h
index 61a9d1d105..a0216397cc 100644
--- a/src/corelib/tools/qshareddata_impl.h
+++ b/src/corelib/tools/qshareddata_impl.h
@@ -51,7 +51,7 @@ public:
}
QExplicitlySharedDataPointerV2(QExplicitlySharedDataPointerV2 &&other) noexcept
- : d(qExchange(other.d, nullptr))
+ : d(std::exchange(other.d, nullptr))
{
}