diff --git a/include/pybind11/cast.h b/include/pybind11/cast.h index e9bfc4a3..33630842 100644 --- a/include/pybind11/cast.h +++ b/include/pybind11/cast.h @@ -1262,7 +1262,7 @@ private: return load_impl_sequence(args, indices{}); } - static constexpr bool load_impl_sequence(handle, index_sequence<>) { return true; } + static bool load_impl_sequence(handle, index_sequence<>) { return true; } template bool load_impl_sequence(handle src, index_sequence) {