QChar: use =delete instead of private
Use the idiomatic way to block access to some functions. Change-Id: I6760dac6ce18910bf30b527b313882e394049349 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
19f9b0d5f5
commit
4d19303654
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user