diff --git a/include/pybind11/detail/internals.h b/include/pybind11/detail/internals.h index d8b5c6b30..78b2c2c7d 100644 --- a/include/pybind11/detail/internals.h +++ b/include/pybind11/detail/internals.h @@ -219,6 +219,10 @@ struct internals { std::string function_record_capsule_name = internals_function_record_capsule_name; #endif +#if PYBIND11_INTERNALS_VERSION >= 6 + type_map native_enum_type_map; +#endif + internals() = default; internals(const internals &other) = delete; internals &operator=(const internals &other) = delete;