diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index 4603e9eb..0ba23751 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -1436,7 +1436,7 @@ private: typename T, typename std::enable_if::value>::type* =nullptr > - static inline auto value_from(T&& x)->decltype(std::forward(x)) + static inline T&& value_from(T&& x) { return std::forward(x); }