Fix coding-style violation in QUtf8StringView::operator==()
Task-number: QTBUG-94407 Pick-to: 6.2 Change-Id: I00a9c14963fe8f8d1b524350aec5544ff5dd609c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
ccac1b185a
commit
5ad13ec57d
@ -318,9 +318,9 @@ private:
|
||||
|
||||
[[nodiscard]] friend inline bool operator==(QBasicUtf8StringView lhs, QBasicUtf8StringView rhs) noexcept
|
||||
{
|
||||
return lhs.size() == rhs.size() &&
|
||||
QtPrivate::equalStrings(QBasicUtf8StringView<false>(lhs.data(), lhs.size()),
|
||||
QBasicUtf8StringView<false>(rhs.data(), rhs.size()));
|
||||
return lhs.size() == rhs.size()
|
||||
&& QtPrivate::equalStrings(QBasicUtf8StringView<false>(lhs.data(), lhs.size()),
|
||||
QBasicUtf8StringView<false>(rhs.data(), rhs.size()));
|
||||
}
|
||||
[[nodiscard]] friend inline bool operator!=(QBasicUtf8StringView lhs, QBasicUtf8StringView rhs) noexcept
|
||||
{ return !operator==(lhs, rhs); }
|
||||
|
Loading…
Reference in New Issue
Block a user