From eeefa8c27894652b7d3572d6c9654ca7972068a7 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Fri, 14 Mar 2025 13:55:08 +0100 Subject: [PATCH] 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 --- tests/auto/corelib/text/qbytearray/tst_qbytearray.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/auto/corelib/text/qbytearray/tst_qbytearray.cpp b/tests/auto/corelib/text/qbytearray/tst_qbytearray.cpp index d8e7a1d2ef1..3318593166d 100644 --- a/tests/auto/corelib/text/qbytearray/tst_qbytearray.cpp +++ b/tests/auto/corelib/text/qbytearray/tst_qbytearray.cpp @@ -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; { // shared auto copy = haystack;