From: grahambenharper Date: Mon, 16 Sep 2019 16:15:20 +0000 (-0600) Subject: Make TensorProductPolynomialsConst a friend of TensorProductPolynomials X-Git-Tag: v9.2.0-rc1~1099^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9acfc7a0a19c6434c8a36090d3cd5aa299260d5f;p=dealii.git Make TensorProductPolynomialsConst a friend of TensorProductPolynomials --- 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; };