use detail::

This commit is contained in:
Michael Carlstrom 2024-07-26 10:26:50 -04:00
parent 960d4bcd95
commit 6f07805421

View File

@ -136,7 +136,7 @@ class TypeVarObject : public object {
using object::object;
TypeVarObject(const char *name) {
attr("__name__") = name;
attr("__bound__") = NameWrapper(make_caster<T>::name);
attr("__bound__") = NameWrapper(pybind11::detail::make_caster<T>::name);
attr("__constraints__") = pybind11::make_tuple();
}
// TypeVarObject(const char *name, py::typing::Tuple<pybind11::type, pybind11::ellipse> tuple){