Author: ericwf Date: Wed Oct 12 06:35:37 2016 New Revision: 284006 URL: http://llvm.org/viewvc/llvm-project?rev=284006&view=rev Log: Correctly grant rebound limited_allocators friendship.
Modified: libcxx/trunk/test/support/test_allocator.h Modified: libcxx/trunk/test/support/test_allocator.h URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/support/test_allocator.h?rev=284006&r1=284005&r2=284006&view=diff ============================================================================== --- libcxx/trunk/test/support/test_allocator.h (original) +++ libcxx/trunk/test/support/test_allocator.h Wed Oct 12 06:35:37 2016 @@ -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: _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits