diff options
author | Marcos Pinto <markybob@dipconsultants.com> | 2007-10-15 18:09:24 +0000 |
---|---|---|
committer | Marcos Pinto <markybob@dipconsultants.com> | 2007-10-15 18:09:24 +0000 |
commit | 1690fd846b601a3ffae4f368ba9ecd728ed0a3c8 (patch) | |
tree | fcd446174aea5308c0ed6dffbcf9aee60d553315 | |
parent | 871d0d15c64eeb126767924a3824c8f61e3eda53 (diff) | |
download | deluge-1690fd846b601a3ffae4f368ba9ecd728ed0a3c8.tar.gz deluge-1690fd846b601a3ffae4f368ba9ecd728ed0a3c8.tar.bz2 deluge-1690fd846b601a3ffae4f368ba9ecd728ed0a3c8.zip |
intrusive_ptr_base fix
-rw-r--r-- | libtorrent/include/libtorrent/intrusive_ptr_base.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<T> 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<T> const* s) { |