0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-06-03 15:25:17 +00:00
Files
termux-packages/x11-packages/chromium-host-tools/cr-patches/7004-no-constexpr-in-requires-base-containers-span.patch
2025-04-22 18:31:06 +08:00

21 lines
971 B
Diff

--- a/base/containers/span.h
+++ b/base/containers/span.h
@@ -785,7 +785,7 @@
template <typename OtherElementType,
size_t OtherExtent,
typename OtherInternalPtrType>
- requires((OtherExtent == dynamic_extent || extent == OtherExtent) &&
+ requires((OtherExtent == dynamic_extent || Extent == OtherExtent) &&
std::equality_comparable_with<const element_type,
const OtherElementType>)
friend constexpr bool operator==(
@@ -820,7 +820,7 @@
template <typename OtherElementType,
size_t OtherExtent,
typename OtherInternalPtrType>
- requires((OtherExtent == dynamic_extent || extent == OtherExtent) &&
+ requires((OtherExtent == dynamic_extent || Extent == OtherExtent) &&
std::three_way_comparable_with<const element_type,
const OtherElementType>)
friend constexpr auto operator<=>(