diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/text/qchar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/text/qchar.h b/src/corelib/text/qchar.h index 59991062a9..04aeed8678 100644 --- a/src/corelib/text/qchar.h +++ b/src/corelib/text/qchar.h @@ -631,8 +631,8 @@ private: static bool QT_FASTCALL isLetterOrNumber_helper(char32_t ucs4) noexcept Q_DECL_CONST_FUNCTION; #ifdef QT_NO_CAST_FROM_ASCII - QChar(char c) noexcept; - QChar(uchar c) noexcept; + QChar(char c) = delete; + QChar(uchar c) = delete; #endif char16_t ucs; |