fix to make torrent_info assignable
This commit is contained in:
parent
b75a1325cb
commit
82369a552b
|
@ -45,6 +45,8 @@ namespace libtorrent
|
||||||
intrusive_ptr_base(intrusive_ptr_base<T> const&)
|
intrusive_ptr_base(intrusive_ptr_base<T> const&)
|
||||||
: m_refs(0) {}
|
: m_refs(0) {}
|
||||||
|
|
||||||
|
intrusive_ptr_base& operator=(intrusive_ptr_base const& rhs) {}
|
||||||
|
|
||||||
friend void intrusive_ptr_add_ref(intrusive_ptr_base<T> const* s)
|
friend void intrusive_ptr_add_ref(intrusive_ptr_base<T> const* s)
|
||||||
{
|
{
|
||||||
assert(s->m_refs >= 0);
|
assert(s->m_refs >= 0);
|
||||||
|
|
Loading…
Reference in New Issue