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 f61808e4c7..34706a09dc 100644
--- a/src/opengl/qopengldebug.h
+++ b/src/opengl/qopengldebug.h
@@ -112,7 +112,7 @@ public:
QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QOpenGLDebugMessage)
~QOpenGLDebugMessage();
- void swap(QOpenGLDebugMessage &other) noexcept { qSwap(d, other.d); }
+ void swap(QOpenGLDebugMessage &other) noexcept { d.swap(other.d); }
Source source() const;
Type type() const;