From 794fd3e226ac14fb3f75737258cb3ecc4eccd898 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Sun, 9 May 2010 01:32:55 +0000 Subject: [PATCH] Move Boost.Range's join_iterator intrusive_ptr_add_ref and intrusive_ptr_release where ADL will actually find them [SVN r61867] --- include/boost/range/detail/join_iterator.hpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/include/boost/range/detail/join_iterator.hpp b/include/boost/range/detail/join_iterator.hpp index 792f834..76ebbfe 100644 --- a/include/boost/range/detail/join_iterator.hpp +++ b/include/boost/range/detail/join_iterator.hpp @@ -71,24 +71,19 @@ private: mutable reference_count_t count; }; -} // range_detail - template -inline void intrusive_ptr_add_ref(const range_detail::join_iterator_link* p) +inline void intrusive_ptr_add_ref(const join_iterator_link* p) { p->add_reference(); } template -inline void intrusive_ptr_release(const range_detail::join_iterator_link* p) +inline void intrusive_ptr_release(const join_iterator_link* p) { if (p->release_reference()) delete p; } -namespace range_detail -{ - class join_iterator_begin_tag {}; class join_iterator_end_tag {};