Applied "swap.hpp.patch" by Steven Watanabe, "Re: [boost] [swap] How to fix ADL barrier for XL, Intel, GCC, Sun and Como?", http://lists.boost.org/Archives/boost/2008/07/140482.php

[SVN r47877]
This commit is contained in:
Niels Dekker 2008-07-30 08:04:34 +00:00
parent c286d62223
commit d215f2176c

View File

@ -38,8 +38,8 @@ namespace boost
{ {
namespace swap_adl_barrier namespace swap_adl_barrier
{ {
template<class T> template<class T1, class T2>
void swap(T& left, T& right) void swap(T1& left, T2& right)
{ {
::boost_swap_impl::swap_impl(left, right); ::boost_swap_impl::swap_impl(left, right);
} }