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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qshareddata_impl.h b/src/corelib/tools/qshareddata_impl.h
index 61a9d1d105..e0b4695e36 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))
{
}
@@ -92,7 +92,7 @@ public:
constexpr T *take() noexcept
{
- return qExchange(d, nullptr);
+ return std::exchange(d, nullptr);
}
bool isShared() const noexcept