Skip to content

Commit 4fbdb9f

Browse files
committed
Made the lambda static
1 parent b0c1a84 commit 4fbdb9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__ranges/iota_view.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ inline constexpr auto iota = __iota::__fn{};
395395

396396
# if _LIBCPP_STD_VER >= 26
397397

398-
inline constexpr auto indices = [](__integer_like auto __size) {
398+
inline constexpr auto indices = [](__integer_like auto __size) static {
399399
return ranges::views::iota(decltype(__size){}, __size);
400400
};
401401

0 commit comments

Comments
 (0)