2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-24 06:02:14 +00:00

Fix unresolved symbol error with MSVC.

This commit is contained in:
Stefan Seefeld
2017-10-27 13:03:24 -04:00
parent 30c9eb1fb6
commit 2d9871fc5a

View File

@@ -58,7 +58,7 @@ struct make_ptr_instance
static inline PyTypeObject* get_derived_class_object(boost::python::detail::true_, U const volatile* x)
{
converter::registration const* r = converter::registry::query(
type_info(typeid(*get_pointer(x)))
type_info(typeid(*x))
);
return r ? r->m_class_object : 0;
}