summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfont.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/text/qfont.h')
-rw-r--r--src/gui/text/qfont.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/text/qfont.h b/src/gui/text/qfont.h
index 1e1b97667f..2b8b93c0bb 100644
--- a/src/gui/text/qfont.h
+++ b/src/gui/text/qfont.h
@@ -174,8 +174,8 @@ public:
QFont(const QFont &font);
~QFont();
- void swap(QFont &other)
- { qSwap(d, other.d); qSwap(resolve_mask, other.resolve_mask); }
+ void swap(QFont &other) noexcept
+ { d.swap(other.d); std::swap(resolve_mask, other.resolve_mask); }
QString family() const;
void setFamily(const QString &);