forked from OSchip/llvm-project
Fix ambiguity in operator== of scoped_allocator_adaptor.
llvm-svn: 131485
This commit is contained in:
parent
651fedb82c
commit
dcaa2e9294
|
@ -547,11 +547,11 @@ operator==(const scoped_allocator_adaptor<_OuterA1>& __a,
|
||||||
return __a.outer_allocator() == __b.outer_allocator();
|
return __a.outer_allocator() == __b.outer_allocator();
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class _OuterA1, class _OuterA2, class... _InnerAllocs>
|
template <class _OuterA1, class _OuterA2, class _InnerA0, class... _InnerAllocs>
|
||||||
inline _LIBCPP_INLINE_VISIBILITY
|
inline _LIBCPP_INLINE_VISIBILITY
|
||||||
bool
|
bool
|
||||||
operator==(const scoped_allocator_adaptor<_OuterA1, _InnerAllocs...>& __a,
|
operator==(const scoped_allocator_adaptor<_OuterA1, _InnerA0, _InnerAllocs...>& __a,
|
||||||
const scoped_allocator_adaptor<_OuterA2, _InnerAllocs...>& __b)
|
const scoped_allocator_adaptor<_OuterA2, _InnerA0, _InnerAllocs...>& __b)
|
||||||
{
|
{
|
||||||
return __a.outer_allocator() == __b.outer_allocator() &&
|
return __a.outer_allocator() == __b.outer_allocator() &&
|
||||||
__a.inner_allocator() == __b.inner_allocator();
|
__a.inner_allocator() == __b.inner_allocator();
|
||||||
|
|
Loading…
Reference in New Issue