tst_QAnyStringView: fix warning of unused variable by using it

Pick-to: 6.5 6.2
Change-Id: Ieab617d69f3b4b54ab30fffd175c78ddb5fb919d
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
This commit is contained in:
Thiago Macieira 2023-05-05 23:07:34 -07:00 committed by Marc Mutz
parent f71eb4a642
commit 3cc39197f8

View File

@ -684,7 +684,9 @@ void tst_QAnyStringView::compare3way()
const QAnyStringView bb = u"bb";
COMPARE_3WAY(aa, aa, std::strong_ordering::equal);
COMPARE_3WAY(aa, bb, std::strong_ordering::less);
COMPARE_3WAY(bb, aa, std::strong_ordering::greater)
COMPARE_3WAY(bb, aa, std::strong_ordering::greater);
COMPARE_3WAY(upperAa, aa, std::strong_ordering::less);
COMPARE_3WAY(aa, upperAa, std::strong_ordering::greater);
);
#undef COMPARE_3WAY
}