From 5e0c98558c206dcab117ff8201f75175d6a93a71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Br=C3=BCning?= Date: Tue, 13 Aug 2019 15:29:21 +0200 Subject: Remove extra semicolon from QConcatenable::size Reduces the number of warnings when building a bit. Change-Id: I18e9a95a211736f18876405ba3d866f704e4dbe0 Reviewed-by: Volker Hilsheimer --- src/corelib/text/qstringbuilder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/corelib/text/qstringbuilder.h b/src/corelib/text/qstringbuilder.h index b3cf2f695e..288d98d633 100644 --- a/src/corelib/text/qstringbuilder.h +++ b/src/corelib/text/qstringbuilder.h @@ -375,7 +375,7 @@ template <> struct QConcatenable : private QAbstractConcatenab using type = const char16_t *; using ConvertTo = QString; enum { ExactSize = true }; - static int size(const char16_t *a) { return QStringView(a).length(); }; + static int size(const char16_t *a) { return QStringView(a).length(); } static inline void QT_ASCII_CAST_WARN appendTo(const char16_t *a, QChar *&out) { if (!a) -- cgit v1.2.3