summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael BrĂ¼ning <michael.bruning@qt.io>2019-08-13 15:29:21 +0200
committerMichael BrĂ¼ning <michael.bruning@qt.io>2019-08-13 15:26:25 +0000
commit5e0c98558c206dcab117ff8201f75175d6a93a71 (patch)
tree420c16e6919449bacf283c48adb54fa715690ec1 /src
parent9cae146c42376868432040bf7427c0b995f2bb64 (diff)
Remove extra semicolon from QConcatenable<const char16_t *>::size
Reduces the number of warnings when building a bit. Change-Id: I18e9a95a211736f18876405ba3d866f704e4dbe0 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/text/qstringbuilder.h2
1 files changed, 1 insertions, 1 deletions
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<const char16_t *> : 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)