diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index 2ec0892f..5d8d81b2 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -836,19 +836,19 @@ template::type* =nullptr> void copy_assign_if(T& x,const T& y){x=y;} template::type* =nullptr> -void copy_assign_if(T& x,const T& y){} +void copy_assign_if(T&,const T&){} template::type* =nullptr> void move_assign_if(T& x,T& y){x=std::move(y);} template::type* =nullptr> -void move_assign_if(T& x,T& y){} +void move_assign_if(T&,T&){} template::type* =nullptr> void swap_if(T& x,T& y){using std::swap; swap(x,y);} template::type* =nullptr> -void swap_if(T& x,T& y){} +void swap_if(T&,T&){} #if defined(BOOST_GCC) /* GCC's -Wshadow triggers at scenarios like this: