mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-31 20:04:29 +02:00
prevented VS C4800 warning
This commit is contained in:
@@ -730,7 +730,7 @@ public:
|
|||||||
template<typename Key>
|
template<typename Key>
|
||||||
BOOST_FORCEINLINE bool contains(Key&& x)const
|
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
|
std::size_t capacity()const noexcept
|
||||||
|
Reference in New Issue
Block a user