fix(range): fix missing explicit namespace qualification of Range::All()

This commit is contained in:
Redstone1024 2024-12-17 15:53:14 +08:00
parent 68f0d19cac
commit 4845520225

View File

@ -152,9 +152,9 @@ NODISCARD FORCEINLINE constexpr auto All(R&& InRange)
/** Creates A view adapter that includes all elements of a range. */ /** Creates A view adapter that includes all elements of a range. */
NODISCARD FORCEINLINE constexpr auto All() NODISCARD FORCEINLINE constexpr auto All()
{ {
return TAdaptorClosure([]<CViewableRange R> requires (requires { All(DeclVal<R>()); }) (R&& Base) return TAdaptorClosure([]<CViewableRange R> requires (requires { Range::All(DeclVal<R>()); }) (R&& Base)
{ {
return All(Forward<R>(Base)); return Range::All(Forward<R>(Base));
}); });
} }