From bc897ef808184eb7a2fc853d6a4f56f613632942 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 17 Sep 2007 10:00:08 +0000 Subject: [PATCH] fixed compile warning --- include/libtorrent/intrusive_ptr_base.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libtorrent/intrusive_ptr_base.hpp b/include/libtorrent/intrusive_ptr_base.hpp index ed6944ebb..d2c35ffe3 100644 --- a/include/libtorrent/intrusive_ptr_base.hpp +++ b/include/libtorrent/intrusive_ptr_base.hpp @@ -42,7 +42,7 @@ namespace libtorrent template struct intrusive_ptr_base { - intrusive_ptr_base(const intrusive_ptr_base& b) + intrusive_ptr_base(intrusive_ptr_base const&) : m_refs(0) {} friend void intrusive_ptr_add_ref(intrusive_ptr_base const* s)