From b192548a21bae54b96c019f3330f6dac4817724b Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sun, 31 Jan 2010 23:35:23 +0100 Subject: python/generic.h: Fix CppPyObject_NEW with parameter again. --- python/generic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/generic.h b/python/generic.h index 2b413a02..7d2d6d3e 100644 --- a/python/generic.h +++ b/python/generic.h @@ -155,8 +155,8 @@ inline CppPyObject *CppPyObject_NEW(PyObject *Owner,PyTypeObject *Type) return New; } -template -inline CppPyObject *CppPyObject_NEW(PyObject *Owner, PyTypeObject *Type,T const &Arg) +template +inline CppPyObject *CppPyObject_NEW(PyObject *Owner, PyTypeObject *Type,A const &Arg) { #ifdef ALLOC_DEBUG std::cerr << "=== ALLOCATING " << Type->tp_name << "+ ===\n"; -- cgit v1.2.3