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: