diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-10-12 11:35:37 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-10-12 11:35:37 +0000 |
commit | a9fcc1d2a437e75907572c5a765a933e679ae5a9 (patch) | |
tree | 7e72661d2f8587da190637ee21b7a543989d8943 /libcxx/test/support | |
parent | 609fb0cc4072a2e3e808127cfc1c26d7bfdb7602 (diff) | |
download | bcm5719-llvm-a9fcc1d2a437e75907572c5a765a933e679ae5a9.tar.gz bcm5719-llvm-a9fcc1d2a437e75907572c5a765a933e679ae5a9.zip |
Correctly grant rebound limited_allocators friendship.
llvm-svn: 284006
Diffstat (limited to 'libcxx/test/support')
-rw-r--r-- | libcxx/test/support/test_allocator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/test/support/test_allocator.h b/libcxx/test/support/test_allocator.h index 4333e4dc3c4..4e93ca5a918 100644 --- a/libcxx/test/support/test_allocator.h +++ b/libcxx/test/support/test_allocator.h @@ -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: |