From d3b9759b42a1dfbd72a7e85b7a418224c1beedd4 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Wed, 16 Jun 2021 18:03:28 +0200 Subject: [PATCH] Silence a few warnings from excess semicolons We dont really need those after functions definitions. Change-Id: I41f010a223977c55d4b7271ac3ebdc1bb9047b09 Reviewed-by: Friedemann Kleint --- src/corelib/kernel/qmetatype.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/corelib/kernel/qmetatype.h b/src/corelib/kernel/qmetatype.h index d6fc881d50f..f47a955019d 100644 --- a/src/corelib/kernel/qmetatype.h +++ b/src/corelib/kernel/qmetatype.h @@ -457,7 +457,7 @@ public: return idHelper(); } return 0; - }; + } #endif constexpr qsizetype sizeOf() const; constexpr qsizetype alignOf() const; @@ -1731,7 +1731,7 @@ private: if (x != e) x++; return x; - }; + } static constexpr const char *skipTemplate(const char *x, const char *e, bool stopAtComa = false) { int scopeDepth = 0; @@ -1772,7 +1772,7 @@ private: x++; } return x; - }; + } constexpr void append(char x) { @@ -1793,7 +1793,7 @@ private: { while (*x) append(*x++); - }; + } constexpr void normalizeIntegerTypes(const char *&begin, const char *end) {