summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qeasingcurve.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/tools/qeasingcurve.h')
-rw-r--r--src/corelib/tools/qeasingcurve.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/tools/qeasingcurve.h b/src/corelib/tools/qeasingcurve.h
index a5a707102b..8b2e783bdc 100644
--- a/src/corelib/tools/qeasingcurve.h
+++ b/src/corelib/tools/qeasingcurve.h
@@ -83,6 +83,9 @@ public:
~QEasingCurve();
QEasingCurve &operator=(const QEasingCurve &other);
+
+ inline void swap(QEasingCurve &other) { qSwap(d_ptr, other.d_ptr); }
+
bool operator==(const QEasingCurve &other) const;
inline bool operator!=(const QEasingCurve &other) const
{ return !(this->operator==(other)); }