From d250057a7c95ea224fa10caf94932ac645d47dbc Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Wed, 19 Jun 2002 22:58:58 +0000 Subject: [PATCH] GCC 3 workaround [SVN r14188] --- include/boost/python/proxy.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/boost/python/proxy.hpp b/include/boost/python/proxy.hpp index d17f5871..8491f722 100755 --- a/include/boost/python/proxy.hpp +++ b/include/boost/python/proxy.hpp @@ -28,7 +28,11 @@ class proxy : public object_operators > template inline proxy const& operator=(T const& rhs) const { +# if __GNUC__ != 3 python::object const& x(rhs); +# else + python::object x(rhs); +# endif Policies::set(m_target, m_key, x); return *this; }