summaryrefslogtreecommitdiffstats
path: root/libcxx/test/support
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-10-12 11:35:37 +0000
committerEric Fiselier <eric@efcs.ca>2016-10-12 11:35:37 +0000
commita9fcc1d2a437e75907572c5a765a933e679ae5a9 (patch)
tree7e72661d2f8587da190637ee21b7a543989d8943 /libcxx/test/support
parent609fb0cc4072a2e3e808127cfc1c26d7bfdb7602 (diff)
downloadbcm5719-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.h1
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:
OpenPOWER on IntegriCloud