From 21ee6ab4b7ed201143303a8025ba3772e9639ee8 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sat, 4 Nov 2000 06:09:31 +0000 Subject: [PATCH] Added some missing 'typename's and a GCC workaround fix [SVN r8125] --- pyptr.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyptr.h b/pyptr.h index 81bd7f55..3b0c99e4 100644 --- a/pyptr.h +++ b/pyptr.h @@ -28,13 +28,13 @@ template struct PyPtrConversions : Base { inline friend T from_python(PyObject* x, py::Type) - { return T(py::Downcast(x).get(), T::new_ref); } + { return T(py::Downcast(x).get(), T::new_ref); } inline friend T from_python(PyObject* x, py::Type) - { return T(py::Downcast(x).get(), T::new_ref); } + { return T(py::Downcast(x).get(), T::new_ref); } inline friend PyObject* to_python(T x) - { return as_object(x.release()); } + { return py::as_object(x.release()); } };