diff --git a/include/boost/unordered/detail/foa/tuple_rotate_right.hpp b/include/boost/unordered/detail/foa/tuple_rotate_right.hpp index c63a7fb5..2774cbbb 100644 --- a/include/boost/unordered/detail/foa/tuple_rotate_right.hpp +++ b/include/boost/unordered/detail/foa/tuple_rotate_right.hpp @@ -24,8 +24,12 @@ auto tuple_rotate_right_aux(mp11::index_sequence,Tuple&& x) std::get<(Is+sizeof...(Is)-1)%sizeof...(Is)>(std::forward(x)))... > { - return { - std::get<(Is+sizeof...(Is)-1)%sizeof...(Is)>(std::forward(x))...}; + return std::tuple(std::forward(x)))... + > + { + std::get<(Is+sizeof...(Is)-1)%sizeof...(Is)>(std::forward(x))... + }; } template