From fabefe82720487a1987aad69e677ce5f4f2667f9 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sat, 28 Oct 2000 23:03:12 +0000 Subject: [PATCH] bug fix [SVN r8059] --- gen_extclass.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gen_extclass.py b/gen_extclass.py index 0ef450e6..64375287 100644 --- a/gen_extclass.py +++ b/gen_extclass.py @@ -4,11 +4,11 @@ import string def gen_extclass(args): held_instance = """%{ template <%(class A%n%:, %)>%} - HeldInstance(PyObject* p%(, const A%n%& a%n%)) : T(%(a%n%:, %)), m_self(p) {}""" + HeldInstance(PyObject* p%(, A%n% a%n%)) : T(%(a%n%:, %)), m_self(p) {}""" instance_value_holder = """%{ template <%(class A%n%:, %)>%} - InstanceValueHolder(ExtensionInstance* p%(, const A%n& a%n%)) : + InstanceValueHolder(ExtensionInstance* p%(, A%n a%n%)) : m_held(p%(, a%n%)) {}""" return (