QFontDatabase: Delete redundant semicolons

There are too many semicolons. Delete some.

Fixes two warnings from Clang 9.0.1.

Change-Id: I363a6a2de9c075c03da62c58ad46828c04a95440
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
Jüri Valdmann 2019-10-22 16:43:12 +02:00
parent bafb8220b4
commit 698a95dc8a
2 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ public:
signed char format = 0;
uchar *data = nullptr;
private:
Q_DISABLE_COPY(Glyph);
Q_DISABLE_COPY(Glyph)
};
virtual ~QFontEngine();

View File

@ -351,7 +351,7 @@ struct QScriptItem
Q_DECL_CONSTEXPR QFixed height() const noexcept { return ascent + descent; }
private:
friend class QVector<QScriptItem>;
QScriptItem() {}; // for QVector, don't use
QScriptItem() {} // for QVector, don't use
};
Q_DECLARE_TYPEINFO(QScriptItem, Q_PRIMITIVE_TYPE);