tst_QByteArray: remove unused constexpr variable isByteArray

Amends 57d91d8029064b592dee8adf819bde676763df28, which removed the
last remaining user.

Task-number: QTBUG-134079
Change-Id: Ie4447f85e9e49c80b505b2241149605886f992cc
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
This commit is contained in:
Marc Mutz 2025-03-14 13:55:08 +01:00
parent d693a06522
commit eeefa8c278

View File

@ -1598,7 +1598,6 @@ void tst_QByteArray::replaceWithEmptyNeedleInsertsBeforeEachChar()
QFETCH(const QByteArray, result);
const auto check = [](auto haystack, auto needle, auto replacement, auto result) {
constexpr bool isByteArray = std::is_same_v<decltype(haystack), QByteArray>;
{
// shared
auto copy = haystack;