diff --git a/include/pybind11/detail/descr.h b/include/pybind11/detail/descr.h index 6418aa8979..be0eb078c8 100644 --- a/include/pybind11/detail/descr.h +++ b/include/pybind11/detail/descr.h @@ -138,7 +138,7 @@ constexpr enable_if_t _(const T1 &d1, const T2 &d2) { return const_name(d1, d2); } -#if defined(PYBIND11_CPP17) +# if defined(PYBIND11_CPP17) template ::value, int>::type = 0> @@ -148,9 +148,9 @@ auto constexpr _() { template ::value, int>::type = 0> -#else +# else template -#endif +# endif auto constexpr _() -> remove_cv_t::digits)> { return const_name(); }