mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 05:22:45 +00:00
Fix refcounting bug
[SVN r14135]
This commit is contained in:
@@ -250,8 +250,7 @@ const ref& dictionary_proxy::operator=(const ref& rhs)
|
||||
|
||||
dictionary_proxy::operator ref() const
|
||||
{
|
||||
return ref(m_dict->ob_type->tp_as_mapping->mp_subscript(m_dict.get(), m_key.get()),
|
||||
ref::increment_count);
|
||||
return ref(m_dict->ob_type->tp_as_mapping->mp_subscript(m_dict.get(), m_key.get()));
|
||||
}
|
||||
|
||||
dictionary_proxy::dictionary_proxy(const ref& dict, const ref& key)
|
||||
|
||||
Reference in New Issue
Block a user