2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-26 18:52:26 +00:00

maybe slower but certainly conforming

[SVN r14190]
This commit is contained in:
Ralf W. Grosse-Kunstleve
2002-06-20 00:19:59 +00:00
parent 7bb39ae541
commit bf84024d6b

View File

@@ -28,12 +28,7 @@ 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);
Policies::set(m_target, m_key, object(rhs));
return *this;
}