File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ namespace boost { namespace python { namespace api {
1313template <class U >
1414object object_operators<U>::operator ()() const
1515{
16- object const & f = *static_cast <U const *>(this );
16+ object_cref2 f = *static_cast <U const *>(this );
1717 return call<object>(f.ptr ());
1818}
1919
@@ -22,15 +22,15 @@ template <class U>
2222inline
2323object_operators<U>::operator bool_type () const
2424{
25- object const & x = *static_cast <U const *>(this );
25+ object_cref2 x = *static_cast <U const *>(this );
2626 return PyObject_IsTrue (x.ptr ()) ? &object::ptr : 0 ;
2727}
2828
2929template <class U >
3030inline bool
3131object_operators<U>::operator !() const
3232{
33- object const & x = *static_cast <U const *>(this );
33+ object_cref2 x = *static_cast <U const *>(this );
3434 return !PyObject_IsTrue (x.ptr ());
3535}
3636
You can’t perform that action at this time.
0 commit comments