diff options
Diffstat (limited to 'src/gui/image/qicon.h')
-rw-r--r-- | src/gui/image/qicon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/image/qicon.h b/src/gui/image/qicon.h index 63816220dd..22f63b1ecb 100644 --- a/src/gui/image/qicon.h +++ b/src/gui/image/qicon.h @@ -26,7 +26,7 @@ public: QIcon(const QPixmap &pixmap); QIcon(const QIcon &other); QIcon(QIcon &&other) noexcept - : d(qExchange(other.d, nullptr)) + : d(std::exchange(other.d, nullptr)) {} explicit QIcon(const QString &fileName); // file or resource name explicit QIcon(QIconEngine *engine); |