diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index 60999b31..2a6c44bd 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -1267,7 +1267,7 @@ private: > static inline init_type value_from(T&& x) { - return init_type{std::forward(x)}; + return std::forward(x); } template