From 957ac66e14edf71b359a4e0012d0be5db153a7d3 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Mon, 11 Aug 2003 02:21:34 +0000 Subject: [PATCH] Added missing #include Use BOOST_EXPLICIT_TEMPLATE_TYPE [SVN r19529] --- include/boost/python/register_ptr_to_python.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/python/register_ptr_to_python.hpp b/include/boost/python/register_ptr_to_python.hpp index 0842e1c1..cbd42cc1 100644 --- a/include/boost/python/register_ptr_to_python.hpp +++ b/include/boost/python/register_ptr_to_python.hpp @@ -8,11 +8,12 @@ #include #include +#include namespace boost { namespace python { template -void register_ptr_to_python(P* = 0) +void register_ptr_to_python(BOOST_EXPLICIT_TEMPLATE_TYPE(P)) { typedef typename boost::python::pointee

::type X; objects::class_value_wrapper<