Correctly grant rebound limited_allocators friendship.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@284006 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2016-10-12 11:35:37 +00:00
parent 9bc0638a92
commit c69d8ca589

View File

@@ -332,6 +332,7 @@ struct limited_alloc_handle {
template <class T, std::size_t N>
class limited_allocator
{
template <class U, std::size_t UN> friend class limited_allocator;
typedef limited_alloc_handle<N> BuffT;
std::shared_ptr<BuffT> handle_;
public: