diff options
Diffstat (limited to 'src/gui/painting/qpen.h')
-rw-r--r-- | src/gui/painting/qpen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpen.h b/src/gui/painting/qpen.h index d8f13df388..2f38098496 100644 --- a/src/gui/painting/qpen.h +++ b/src/gui/painting/qpen.h @@ -35,7 +35,7 @@ public: QPen &operator=(const QPen &pen) noexcept; QPen(QPen &&other) noexcept - : d(qExchange(other.d, nullptr)) {} + : d(std::exchange(other.d, nullptr)) {} QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QPen) void swap(QPen &other) noexcept { qt_ptr_swap(d, other.d); } |