diff options
Diffstat (limited to 'src/render/texture/qtexturedataupdate.h')
-rw-r--r-- | src/render/texture/qtexturedataupdate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/texture/qtexturedataupdate.h b/src/render/texture/qtexturedataupdate.h index f222fd6ec..69715888f 100644 --- a/src/render/texture/qtexturedataupdate.h +++ b/src/render/texture/qtexturedataupdate.h @@ -65,7 +65,7 @@ public: { swap(other); return *this; } ~QTextureDataUpdate(); - void swap(QTextureDataUpdate &other) noexcept { qSwap(d_ptr, other.d_ptr); } + void swap(QTextureDataUpdate &other) noexcept { d_ptr.swap(other.d_ptr); } int x() const; int y() const; |