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