QFontMetricsF: add noexcept
Change-Id: I0b32ff72f22c4014441a86c135927e52ddc999cd Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
68eea0196e
commit
83971776c7
@ -170,10 +170,10 @@ public:
|
||||
|
||||
QFontMetricsF &operator=(const QFontMetricsF &);
|
||||
QFontMetricsF &operator=(const QFontMetrics &);
|
||||
inline QFontMetricsF &operator=(QFontMetricsF &&other)
|
||||
inline QFontMetricsF &operator=(QFontMetricsF &&other) noexcept
|
||||
{ qSwap(d, other.d); return *this; }
|
||||
|
||||
void swap(QFontMetricsF &other) { qSwap(d, other.d); }
|
||||
void swap(QFontMetricsF &other) noexcept { qSwap(d, other.d); }
|
||||
|
||||
qreal ascent() const;
|
||||
qreal capHeight() const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user