Skip to content

Commit

Permalink
Replace bool_constant (since it's C++17)
Browse files Browse the repository at this point in the history
Co-authored-by: Damien L-G <dalg24+github@gmail.com>
  • Loading branch information
mhoemmen and dalg24 authored Apr 5, 2024
1 parent fab6a90 commit c93776b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/experimental/__p0009_bits/extents.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ check_one_index(InputIndex user_index,
ExtentsIndexType current_extent)
{
check_lower_bound(user_index, current_extent,
std::bool_constant<std::is_signed_v<ExtentsIndexType>>{});
std::integral_constant<bool, std::is_signed_v<ExtentsIndexType>>{});
check_upper_bound(user_index, current_extent);
}

Expand Down

0 comments on commit c93776b

Please sign in to comment.