summaryrefslogtreecommitdiffstats
path: root/libcxx/test/support/test_allocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/support/test_allocator.h')
-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