From 02197674f489d062d6177ce1102920a9dac58c7d Mon Sep 17 00:00:00 2001 From: joaquintides Date: Sat, 6 May 2023 12:44:07 +0200 Subject: [PATCH] prevented VS C4800 warning --- include/boost/unordered/detail/foa/concurrent_table.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/unordered/detail/foa/concurrent_table.hpp b/include/boost/unordered/detail/foa/concurrent_table.hpp index 8c0542e4..7eee515e 100644 --- a/include/boost/unordered/detail/foa/concurrent_table.hpp +++ b/include/boost/unordered/detail/foa/concurrent_table.hpp @@ -730,7 +730,7 @@ public: template BOOST_FORCEINLINE bool contains(Key&& x)const { - return visit(std::forward(x),[](const value_type&){}); + return visit(std::forward(x),[](const value_type&){})!=0; } std::size_t capacity()const noexcept