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