summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopenglpixeltransferoptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/qopenglpixeltransferoptions.h')
-rw-r--r--src/opengl/qopenglpixeltransferoptions.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/opengl/qopenglpixeltransferoptions.h b/src/opengl/qopenglpixeltransferoptions.h
index 252c2a2f1e..1f9c1eb9db 100644
--- a/src/opengl/qopenglpixeltransferoptions.h
+++ b/src/opengl/qopenglpixeltransferoptions.h
@@ -55,8 +55,7 @@ class Q_OPENGL_EXPORT QOpenGLPixelTransferOptions
public:
QOpenGLPixelTransferOptions();
QOpenGLPixelTransferOptions(const QOpenGLPixelTransferOptions &);
- QOpenGLPixelTransferOptions &operator=(QOpenGLPixelTransferOptions &&other) noexcept
- { swap(other); return *this; }
+ QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QOpenGLPixelTransferOptions)
QOpenGLPixelTransferOptions &operator=(const QOpenGLPixelTransferOptions &);
~QOpenGLPixelTransferOptions();