From 9acfc7a0a19c6434c8a36090d3cd5aa299260d5f Mon Sep 17 00:00:00 2001 From: grahambenharper Date: Mon, 16 Sep 2019 10:15:20 -0600 Subject: [PATCH] Make TensorProductPolynomialsConst a friend of TensorProductPolynomials --- include/deal.II/base/tensor_product_polynomials.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/deal.II/base/tensor_product_polynomials.h b/include/deal.II/base/tensor_product_polynomials.h index 1022310303..28f7c9d036 100644 --- a/include/deal.II/base/tensor_product_polynomials.h +++ b/include/deal.II/base/tensor_product_polynomials.h @@ -30,8 +30,13 @@ DEAL_II_NAMESPACE_OPEN +// Forward declarations for friends +// TODO: We may be able to modify these classes so they aren't +// required to be friends template class TensorProductPolynomialsBubbles; +template +class TensorProductPolynomialsConst; /** * @addtogroup Polynomials @@ -236,6 +241,12 @@ protected: * so we declare it as a friend class. */ friend class TensorProductPolynomialsBubbles; + + /** + * TensorProductPolynomialsConst has a TensorProductPolynomials class + * so we declare it as a friend class. + */ + friend class TensorProductPolynomialsConst; }; -- 2.39.5