diff options
Diffstat (limited to 'contrib/llvm-project/libcxx/include/__algorithm/ranges_equal.h')
| -rw-r--r-- | contrib/llvm-project/libcxx/include/__algorithm/ranges_equal.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/contrib/llvm-project/libcxx/include/__algorithm/ranges_equal.h b/contrib/llvm-project/libcxx/include/__algorithm/ranges_equal.h index edbd0e3641c1..c26d13f00220 100644 --- a/contrib/llvm-project/libcxx/include/__algorithm/ranges_equal.h +++ b/contrib/llvm-project/libcxx/include/__algorithm/ranges_equal.h @@ -34,8 +34,7 @@ _LIBCPP_PUSH_MACROS _LIBCPP_BEGIN_NAMESPACE_STD namespace ranges { -namespace __equal { -struct __fn { +struct __equal { template <input_iterator _Iter1, sentinel_for<_Iter1> _Sent1, input_iterator _Iter2, @@ -93,10 +92,9 @@ struct __fn { return false; } }; -} // namespace __equal inline namespace __cpo { -inline constexpr auto equal = __equal::__fn{}; +inline constexpr auto equal = __equal{}; } // namespace __cpo } // namespace ranges |
