summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfontinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/text/qfontinfo.h')
-rw-r--r--src/gui/text/qfontinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qfontinfo.h b/src/gui/text/qfontinfo.h
index ed889c2fb5..349daa3f84 100644
--- a/src/gui/text/qfontinfo.h
+++ b/src/gui/text/qfontinfo.h
@@ -56,7 +56,7 @@ public:
QFontInfo &operator=(const QFontInfo &);
- void swap(QFontInfo &other) { qSwap(d, other.d); }
+ void swap(QFontInfo &other) noexcept { d.swap(other.d); }
QString family() const;
QString styleName() const;