summaryrefslogtreecommitdiffstats
path: root/src/common/polyfill_ranges.h
diff options
context:
space:
mode:
authorLevi Behunin <l3ehunin@gmail.com>2023-01-29 21:54:13 +0100
committerBehunin <l3ehunin@gmail.com>2023-01-30 01:49:42 +0100
commitd5fc56db4bdebcf4f45e39e9c9d0f40229de8cea (patch)
tree4bbcaee76bde35ddc6eff9a1c639866cf278b353 /src/common/polyfill_ranges.h
parentMerge pull request #9699 from ameerj/texture-pass-desc (diff)
downloadyuzu-d5fc56db4bdebcf4f45e39e9c9d0f40229de8cea.tar
yuzu-d5fc56db4bdebcf4f45e39e9c9d0f40229de8cea.tar.gz
yuzu-d5fc56db4bdebcf4f45e39e9c9d0f40229de8cea.tar.bz2
yuzu-d5fc56db4bdebcf4f45e39e9c9d0f40229de8cea.tar.lz
yuzu-d5fc56db4bdebcf4f45e39e9c9d0f40229de8cea.tar.xz
yuzu-d5fc56db4bdebcf4f45e39e9c9d0f40229de8cea.tar.zst
yuzu-d5fc56db4bdebcf4f45e39e9c9d0f40229de8cea.zip
Diffstat (limited to '')
-rw-r--r--src/common/polyfill_ranges.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/polyfill_ranges.h b/src/common/polyfill_ranges.h
index ca44bfaef..512dbcbcb 100644
--- a/src/common/polyfill_ranges.h
+++ b/src/common/polyfill_ranges.h
@@ -18,9 +18,9 @@ namespace ranges {
template <typename T>
concept range = requires(T& t) {
- begin(t);
- end(t);
-};
+ begin(t);
+ end(t);
+ };
template <typename T>
concept input_range = range<T>;
@@ -421,7 +421,7 @@ struct generate_fn {
}
template <typename R, std::copy_constructible F>
- requires std::invocable<F&> && ranges::output_range<R>
+ requires std::invocable<F&> && ranges::output_range<R>
constexpr ranges::iterator_t<R> operator()(R&& r, F gen) const {
return operator()(ranges::begin(r), ranges::end(r), std::move(gen));
}