From 4e7013033ffa52b04097c587d4108009824720bf Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Mon, 16 Nov 2020 03:08:20 +0100 Subject: [PATCH] QChar: get rid of some redundant comments We have a proper tag now. Change-Id: Ia5279a82e078d27aa5e09a427f36cf355d959e1f Reviewed-by: Lars Knoll --- src/corelib/text/qchar.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/corelib/text/qchar.h b/src/corelib/text/qchar.h index 5325b9ca8d..59991062a9 100644 --- a/src/corelib/text/qchar.h +++ b/src/corelib/text/qchar.h @@ -113,11 +113,11 @@ public: constexpr Q_IMPLICIT QChar(short rc) noexcept : ucs(char16_t(rc)) {} constexpr QCHAR_MAYBE_IMPLICIT QChar(uint rc) noexcept : ucs(char16_t(rc & 0xffff)) {} constexpr QCHAR_MAYBE_IMPLICIT QChar(int rc) noexcept : ucs(char16_t(rc & 0xffff)) {} - constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {} // implicit - constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {} // implicit - constexpr Q_IMPLICIT QChar(char16_t ch) noexcept : ucs(ch) {} // implicit + constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {} + constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {} + constexpr Q_IMPLICIT QChar(char16_t ch) noexcept : ucs(ch) {} #if defined(Q_OS_WIN) || defined(Q_CLANG_QDOC) - constexpr Q_IMPLICIT QChar(wchar_t ch) noexcept : ucs(char16_t(ch)) {} // implicit + constexpr Q_IMPLICIT QChar(wchar_t ch) noexcept : ucs(char16_t(ch)) {} #endif #ifndef QT_NO_CAST_FROM_ASCII