prevented VS C4800 warning

This commit is contained in:
joaquintides
2023-05-06 12:44:07 +02:00
parent f0fe62d6ab
commit 02197674f4

View File

@@ -730,7 +730,7 @@ public:
template<typename Key>
BOOST_FORCEINLINE bool contains(Key&& x)const
{
return visit(std::forward<Key>(x),[](const value_type&){});
return visit(std::forward<Key>(x),[](const value_type&){})!=0;
}
std::size_t capacity()const noexcept