Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2010-09-22 00:16:37 +0400
committerHoward Hinnant <hhinnant@apple.com>2010-09-22 00:16:37 +0400
commitf5ab703f686679be4473705d89d93637351ead77 (patch)
tree4a7bb18bd0fd076d970f6fd9faed1aadb74787a0 /libcxx/include/__sso_allocator
parentbeb64f55cf58b908fc58c15129d94ebc5762a39f (diff)
visibility-decoration.
llvm-svn: 114470
Diffstat (limited to 'libcxx/include/__sso_allocator')
-rw-r--r--libcxx/include/__sso_allocator2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/__sso_allocator b/libcxx/include/__sso_allocator
index 17e232925da4..28c95139caa8 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_;}
};