diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-28 12:59:09 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-28 15:57:34 +0100 |
commit | 375a8b735b696069766f4d078eb13cc81b0216f0 (patch) | |
tree | 8ce9290003e3254dd76dd16adc3d3e2ed4d9c7dd /src/corelib | |
parent | 6b0330317c437749d38db6009932151764f33733 (diff) |
Remove qstring_compat left-over
Was missed when it was removed
Change-Id: I36c33be9240fa5567a65488d6fd0e14b8c3ad8cd
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/text/qstring.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/text/qstring.h b/src/corelib/text/qstring.h index 761549582a..653d135cd2 100644 --- a/src/corelib/text/qstring.h +++ b/src/corelib/text/qstring.h @@ -704,7 +704,7 @@ public: const ushort *utf16() const; -#if defined(Q_COMPILER_REF_QUALIFIERS) && !defined(QT_COMPILING_QSTRING_COMPAT_CPP) && !defined(Q_CLANG_QDOC) +#if !defined(Q_CLANG_QDOC) [[nodiscard]] QByteArray toLatin1() const & { return toLatin1_helper(*this); } [[nodiscard]] QByteArray toLatin1() && |