diff --git a/include/boost/python/object_core.hpp b/include/boost/python/object_core.hpp index 3af36436..b7d30f71 100755 --- a/include/boost/python/object_core.hpp +++ b/include/boost/python/object_core.hpp @@ -383,9 +383,9 @@ namespace api template <> struct object_initializer_impl { - template + template static PyObject* - get(T const& x, ...) + get(T const& x, U) { return python::incref(get_managed_object(x, tag)); }