summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopengldebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/qopengldebug.h')
-rw-r--r--src/opengl/qopengldebug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qopengldebug.h b/src/opengl/qopengldebug.h
index c12d9964939..f61808e4c7c 100644
--- a/src/opengl/qopengldebug.h
+++ b/src/opengl/qopengldebug.h
@@ -109,7 +109,7 @@ public:
QOpenGLDebugMessage(const QOpenGLDebugMessage &debugMessage);
QOpenGLDebugMessage &operator=(const QOpenGLDebugMessage &debugMessage);
- QOpenGLDebugMessage &operator=(QOpenGLDebugMessage &&other) noexcept { swap(other); return *this; }
+ QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QOpenGLDebugMessage)
~QOpenGLDebugMessage();
void swap(QOpenGLDebugMessage &other) noexcept { qSwap(d, other.d); }