2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 05:22:45 +00:00

GCC 3 workaround

[SVN r14188]
This commit is contained in:
Dave Abrahams
2002-06-19 22:58:58 +00:00
parent d07454659a
commit d250057a7c

View File

@@ -28,7 +28,11 @@ class proxy : public object_operators<proxy<Policies> >
template <class T>
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;
}