From 375a8b735b696069766f4d078eb13cc81b0216f0 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Wed, 28 Oct 2020 12:59:09 +0100 Subject: Remove qstring_compat left-over Was missed when it was removed Change-Id: I36c33be9240fa5567a65488d6fd0e14b8c3ad8cd Reviewed-by: Lars Knoll --- src/corelib/text/qstring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib') 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() && -- cgit v1.2.3