diff options
| author | Ivan Solovev <ivan.solovev@qt.io> | 2024-02-22 16:49:37 +0100 |
|---|---|---|
| committer | Ivan Solovev <ivan.solovev@qt.io> | 2024-03-02 00:12:54 +0100 |
| commit | 7068418a13c7149f81dade96000b99b1c37c0df8 (patch) | |
| tree | b3a52682debbfb5cb8ff3ad481af84b54805c8a3 /src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp | |
| parent | ee612626f99d5a8da6814c2df90db00f9beb463f (diff) | |
QByteArray: use comparison helper macros
Replace the existing friend relational operators with the macros.
Add the previously-missing relational opertors with QChar and char16_t.
This allows to remove the last dummy relational operators and the
macros to generate them in tst_qstringapisymmetry.
Because of a bug in libstdc++[0], we have to explicitly keep the
QBA vs QBA relational operators even in C++20 mode. This problem is
specific to QByteArray, because it is convertible to const void *.
[0]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114153
Task-number: QTBUG-117661
Change-Id: Iac7f81cd3274331b7c7695a51803321b511361c0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp')
0 files changed, 0 insertions, 0 deletions
