diff options
Diffstat (limited to 'libcxx/include/__sso_allocator')
| -rw-r--r-- | libcxx/include/__sso_allocator | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/__sso_allocator b/libcxx/include/__sso_allocator index 17e232925da..28c95139caa 100644 --- a/libcxx/include/__sso_allocator +++ b/libcxx/include/__sso_allocator @@ -64,7 +64,9 @@ public: } _LIBCPP_INLINE_VISIBILITY size_type max_size() const throw() {return size_type(~0) / sizeof(_Tp);} + _LIBCPP_INLINE_VISIBILITY bool operator==(__sso_allocator& __a) const {return &buf_ == &__a.buf_;} + _LIBCPP_INLINE_VISIBILITY bool operator!=(__sso_allocator& __a) const {return &buf_ != &__a.buf_;} }; |

