From 2b7e9d826d9e38bd182e32629f3fda8cbb2322dd Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Thu, 6 Oct 2022 12:03:59 -0700 Subject: [PATCH] Fix warning in msvc-14.3 with C++20 about multiple implicit conversions being applied --- include/boost/unordered/detail/foa.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index 7d8a15c9..06eb2538 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -1260,7 +1260,7 @@ private: > static inline init_type value_from(T&& x) { - return {std::forward(x)}; + return init_type{std::forward(x)}; } template<