mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-29 19:07:15 +02:00
Fix erroneous usage of boost::is_convertible instead of std::is_convertible
This commit is contained in:
@ -1099,9 +1099,8 @@ public:
|
||||
|
||||
template<typename Key>
|
||||
auto erase(Key&& x) -> typename std::enable_if<
|
||||
!boost::is_convertible<Key,iterator>::value&&
|
||||
!boost::is_convertible<Key,const_iterator>::value, std::size_t>::type
|
||||
erase(Key&& x)
|
||||
!std::is_convertible<Key,iterator>::value&&
|
||||
!std::is_convertible<Key,const_iterator>::value, std::size_t>::type
|
||||
{
|
||||
auto it=find(x);
|
||||
if(it!=end()){
|
||||
|
Reference in New Issue
Block a user