diff --git a/include/scoped_allocator b/include/scoped_allocator index 70be28ee..f361bccb 100644 --- a/include/scoped_allocator +++ b/include/scoped_allocator @@ -547,11 +547,11 @@ operator==(const scoped_allocator_adaptor<_OuterA1>& __a, return __a.outer_allocator() == __b.outer_allocator(); } -template +template inline _LIBCPP_INLINE_VISIBILITY bool -operator==(const scoped_allocator_adaptor<_OuterA1, _InnerAllocs...>& __a, - const scoped_allocator_adaptor<_OuterA2, _InnerAllocs...>& __b) +operator==(const scoped_allocator_adaptor<_OuterA1, _InnerA0, _InnerAllocs...>& __a, + const scoped_allocator_adaptor<_OuterA2, _InnerA0, _InnerAllocs...>& __b) { return __a.outer_allocator() == __b.outer_allocator() && __a.inner_allocator() == __b.inner_allocator();