From 16f86b0770752d517942ddbdfc09c8db58d5c232 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Sat, 8 Oct 2022 10:18:20 +0200 Subject: [PATCH] relied on implicit conversion for second overload of value_from --- 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 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