Skip to content

Commit 096f939

Browse files
some fix
1 parent 1a864b0 commit 096f939

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

libcxx/include/__ranges/concat_view.h

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@
5858
# pragma GCC system_header
5959
#endif
6060

61+
_LIBCPP_PUSH_MACROS
62+
#include <__undef_macros>
63+
6164
_LIBCPP_BEGIN_NAMESPACE_STD
6265

6366
#if _LIBCPP_STD_VER >= 26
@@ -133,9 +136,9 @@ concept __all_forward = (forward_range<__maybe_const<_Const, _Views>> && ...);
133136
template <bool _Const, class... _Tp>
134137
struct __apply_drop_first;
135138

136-
template <bool _Const, class Head, class... Tail>
137-
struct __apply_drop_first<_Const, Head, Tail...> {
138-
static constexpr bool value = (sized_range<__maybe_const<_Const, Tail>> && ...);
139+
template <bool _Const, class _Head, class... _Tail>
140+
struct __apply_drop_first<_Const, _Head, _Tail...> {
141+
static constexpr bool value = (sized_range<__maybe_const<_Const, _Tail>> && ...);
139142
};
140143

141144
template <input_range... _Views>
@@ -620,4 +623,6 @@ inline constexpr auto concat = __concat::__fn{};
620623

621624
_LIBCPP_END_NAMESPACE_STD
622625

626+
_LIBCPP_POP_MACROS
627+
623628
#endif // _LIBCPP___RANGES_CONCAT_VIEW_H

0 commit comments

Comments
 (0)