diff --git a/include/pybind11/pybind11.h b/include/pybind11/pybind11.h index 3fb122191..9dd71e4d6 100644 --- a/include/pybind11/pybind11.h +++ b/include/pybind11/pybind11.h @@ -1055,7 +1055,7 @@ public: record.name = name; record.type = &typeid(type); record.type_size = sizeof(conditional_t); - record.type_align = alignof(conditional_t); + record.type_align = alignof(conditional_t&); record.holder_size = sizeof(holder_type); record.init_instance = init_instance; record.dealloc = dealloc;