diff options
Diffstat (limited to 'src/multimedia/qmediaformat.h')
-rw-r--r-- | src/multimedia/qmediaformat.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/multimedia/qmediaformat.h b/src/multimedia/qmediaformat.h index f72dcb597..cff960514 100644 --- a/src/multimedia/qmediaformat.h +++ b/src/multimedia/qmediaformat.h @@ -135,10 +135,10 @@ public: QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QMediaFormat) void swap(QMediaFormat &other) noexcept { - qSwap(fmt, other.fmt); - qSwap(audio, other.audio); - qSwap(video, other.video); - qSwap(d, other.d); + std::swap(fmt, other.fmt); + std::swap(audio, other.audio); + std::swap(video, other.video); + d.swap(other.d); } FileFormat fileFormat() const { return fmt; } |