Skip to content

Commit

Permalink
fix #else
Browse files Browse the repository at this point in the history
  • Loading branch information
InvincibleRMC committed Dec 12, 2024
1 parent c3f8129 commit 16934a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pybind11/detail/descr.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ auto constexpr const_name() {

template <auto Size,
typename std::enable_if<!std::is_same<decltype(Size), bool>::value, int>::type = 0>
#elif
#else
template <size_t Size>
#endif
auto constexpr const_name() -> remove_cv_t<decltype(int_to_str<Size / 10, Size % 10>::digits)> {
Expand Down

0 comments on commit 16934a7

Please sign in to comment.