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,8 +318,8 @@ private:
|
|||||||
|
|
||||||
[[nodiscard]] friend inline bool operator==(QBasicUtf8StringView lhs, QBasicUtf8StringView rhs) noexcept
|
[[nodiscard]] friend inline bool operator==(QBasicUtf8StringView lhs, QBasicUtf8StringView rhs) noexcept
|
||||||
{
|
{
|
||||||
return lhs.size() == rhs.size() &&
|
return lhs.size() == rhs.size()
|
||||||
QtPrivate::equalStrings(QBasicUtf8StringView<false>(lhs.data(), lhs.size()),
|
&& QtPrivate::equalStrings(QBasicUtf8StringView<false>(lhs.data(), lhs.size()),
|
||||||
QBasicUtf8StringView<false>(rhs.data(), rhs.size()));
|
QBasicUtf8StringView<false>(rhs.data(), rhs.size()));
|
||||||
}
|
}
|
||||||
[[nodiscard]] friend inline bool operator!=(QBasicUtf8StringView lhs, QBasicUtf8StringView rhs) noexcept
|
[[nodiscard]] friend inline bool operator!=(QBasicUtf8StringView lhs, QBasicUtf8StringView rhs) noexcept
|
||||||
|
Loading…
Reference in New Issue
Block a user