From 2d9871fc5ad78b3fca8766778e7ecb54af461474 Mon Sep 17 00:00:00 2001 From: Stefan Seefeld Date: Fri, 27 Oct 2017 13:03:24 -0400 Subject: [PATCH] Fix unresolved symbol error with MSVC. --- include/boost/python/object/make_ptr_instance.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/python/object/make_ptr_instance.hpp b/include/boost/python/object/make_ptr_instance.hpp index 66a8bebe..92412b31 100644 --- a/include/boost/python/object/make_ptr_instance.hpp +++ b/include/boost/python/object/make_ptr_instance.hpp @@ -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; }