Remove unused IS_RAW_DATA() macros from q{string,bytearray}.cpp

They were made redundant at Qt 6, so now they're just defined and undefined.
Don't even do that any more.

Change-Id: Ic4a4a4c39c50c9af417ea6c52be5f69a2d4856c6
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Edward Welbourne 2023-05-22 14:19:23 +02:00
parent 65c1ac1df6
commit 9da9ca0ac7
2 changed files with 0 additions and 5 deletions

View File

@ -34,8 +34,6 @@
#include <algorithm>
#define IS_RAW_DATA(d) ((d)->flags() & QArrayData::RawDataType)
QT_BEGIN_NAMESPACE
Q_CONSTINIT const char QByteArray::_empty = '\0';
@ -5145,5 +5143,4 @@ size_t qHash(const QByteArray::FromBase64Result &key, size_t seed) noexcept
QT_END_NAMESPACE
#undef IS_RAW_DATA
#undef REHASH

View File

@ -66,7 +66,6 @@
#define ULLONG_MAX quint64_C(18446744073709551615)
#endif
#define IS_RAW_DATA(d) ((d.d)->flags & QArrayData::RawDataType)
#define REHASH(a) \
if (sl_minus_1 < sizeof(std::size_t) * CHAR_BIT) \
hashHaystack -= std::size_t(a) << sl_minus_1; \
@ -10033,5 +10032,4 @@ void QAbstractConcatenable::appendLatin1To(QLatin1StringView in, QChar *out) noe
QT_END_NAMESPACE
#undef IS_RAW_DATA
#undef REHASH