From a1356bdb7f84d6af156bd9575fb03a0de2b9ef04 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 15 Oct 2007 17:56:22 +0000 Subject: [PATCH] intrusive_ptr_base fix --- include/libtorrent/intrusive_ptr_base.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/libtorrent/intrusive_ptr_base.hpp b/include/libtorrent/intrusive_ptr_base.hpp index c7fbe46ad..98a1fed2e 100644 --- a/include/libtorrent/intrusive_ptr_base.hpp +++ b/include/libtorrent/intrusive_ptr_base.hpp @@ -45,7 +45,8 @@ namespace libtorrent intrusive_ptr_base(intrusive_ptr_base const&) : m_refs(0) {} - intrusive_ptr_base& operator=(intrusive_ptr_base const& rhs) {} + intrusive_ptr_base& operator=(intrusive_ptr_base const& rhs) + { return *this; } friend void intrusive_ptr_add_ref(intrusive_ptr_base const* s) {