diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-06-16 18:03:28 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-06-17 18:56:12 +0200 |
commit | d3b9759b42a1dfbd72a7e85b7a418224c1beedd4 (patch) | |
tree | 2558b6e088f008f8ca33cad6b96135e529c93431 /src/corelib | |
parent | 5ec937115bc677a75525dfa9147c1763adbea50e (diff) |
Silence a few warnings from excess semicolons
We dont really need those after functions definitions.
Change-Id: I41f010a223977c55d4b7271ac3ebdc1bb9047b09
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/kernel/qmetatype.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/kernel/qmetatype.h b/src/corelib/kernel/qmetatype.h index d6fc881d50..f47a955019 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) { |