From 1cfa79554d64d729cc9e8f5b31d8e8e56a17788e Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Sat, 5 Feb 2005 07:36:14 +0000 Subject: [PATCH] work around gcc problems (gcc 3.2.2 and higher); thanks to John Maddock for the patch! [SVN r27142] --- include/boost/python/object_core.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); }