From c69d8ca589e771b4f0f2aa8182894e04081195bf Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Wed, 12 Oct 2016 11:35:37 +0000 Subject: [PATCH] Correctly grant rebound limited_allocators friendship. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@284006 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/support/test_allocator.h | 1 + 1 file changed, 1 insertion(+) diff --git a/test/support/test_allocator.h b/test/support/test_allocator.h index 4333e4dc3..4e93ca5a9 100644 --- a/test/support/test_allocator.h +++ b/test/support/test_allocator.h @@ -332,6 +332,7 @@ struct limited_alloc_handle { template class limited_allocator { + template friend class limited_allocator; typedef limited_alloc_handle BuffT; std::shared_ptr handle_; public: