summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mfbt/Span.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/mfbt/Span.h b/mfbt/Span.h
index 5acaafcbd..f031a928b 100644
--- a/mfbt/Span.h
+++ b/mfbt/Span.h
@@ -276,20 +276,20 @@ public:
return lhs.index_ < rhs.index_;
}
- constexpr friend bool operator<=(const span_iterator& lhs,
- const span_iterator& rhs)
+ MOZ_SPAN_GCC_CONSTEXPR friend bool operator<=(const span_iterator& lhs,
+ const span_iterator& rhs)
{
return !(rhs < lhs);
}
- constexpr friend bool operator>(const span_iterator& lhs,
- const span_iterator& rhs)
+ MOZ_SPAN_GCC_CONSTEXPR friend bool operator>(const span_iterator& lhs,
+ const span_iterator& rhs)
{
return rhs < lhs;
}
- constexpr friend bool operator>=(const span_iterator& lhs,
- const span_iterator& rhs)
+ MOZ_SPAN_GCC_CONSTEXPR friend bool operator>=(const span_iterator& lhs,
+ const span_iterator& rhs)
{
return !(rhs > lhs);
}