diff --git a/include/boost/python/handle.hpp b/include/boost/python/handle.hpp index aa1412b3..78092a3f 100755 --- a/include/boost/python/handle.hpp +++ b/include/boost/python/handle.hpp @@ -66,7 +66,7 @@ class handle ~handle(); template - handle(Y* p) + explicit handle(Y* p) : m_p( python::upcast( detail::manage_ptr(p, 0)