From 82369a552b090c33d1f500f5e653c2f2827cbd8c Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Thu, 4 Oct 2007 20:47:44 +0000 Subject: [PATCH] fix to make torrent_info assignable --- include/libtorrent/intrusive_ptr_base.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/libtorrent/intrusive_ptr_base.hpp b/include/libtorrent/intrusive_ptr_base.hpp index 4d3c5b855..b78aea7b0 100644 --- a/include/libtorrent/intrusive_ptr_base.hpp +++ b/include/libtorrent/intrusive_ptr_base.hpp @@ -45,6 +45,8 @@ namespace libtorrent intrusive_ptr_base(intrusive_ptr_base const&) : m_refs(0) {} + intrusive_ptr_base& operator=(intrusive_ptr_base const& rhs) {} + friend void intrusive_ptr_add_ref(intrusive_ptr_base const* s) { assert(s->m_refs >= 0);