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:
parent
f71eb4a642
commit
3cc39197f8
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user