From 1690fd846b601a3ffae4f368ba9ecd728ed0a3c8 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Mon, 15 Oct 2007 18:09:24 +0000 Subject: [PATCH] intrusive_ptr_base fix --- libtorrent/include/libtorrent/intrusive_ptr_base.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libtorrent/include/libtorrent/intrusive_ptr_base.hpp b/libtorrent/include/libtorrent/intrusive_ptr_base.hpp index c7fbe46ad..98a1fed2e 100644 --- a/libtorrent/include/libtorrent/intrusive_ptr_base.hpp +++ b/libtorrent/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) {