From fcb1d66d5de3c76aa8489e0e2150bed50191a873 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 7 May 2002 06:49:09 +0000 Subject: [PATCH] indicate * the global scope using the * @p{::} in front of * @p{DataOutBase}, since * otherwise the C++ rules * specify that this here * indicates the @p{DataOutBase} * base class of this * class. Since that is a private * base class, we cannot access * its members, and so access to * the local @p{Patch} type would * be forbidden. git-svn-id: https://svn.dealii.org/trunk@5830 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/matrix_out.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/deal.II/lac/include/lac/matrix_out.h b/deal.II/lac/include/lac/matrix_out.h index 74552df1b7..f4b74f019d 100644 --- a/deal.II/lac/include/lac/matrix_out.h +++ b/deal.II/lac/include/lac/matrix_out.h @@ -199,8 +199,22 @@ class MatrixOut : public DataOutInterface<2,2> * Abbreviate the somewhat * lengthy name for the @p{Patch} * class. + * + * Note that we have to indicate + * the global scope using the + * @p{::} in front of + * @p{DataOutBase}, since + * otherwise the C++ rules + * specify that this here + * indicates the @p{DataOutBase} + * base class of this + * class. Since that is a private + * base class, we cannot access + * its members, and so access to + * the local @p{Patch} type would + * be forbidden. */ - typedef DataOutBase::Patch<2,2> Patch; + typedef ::DataOutBase::Patch<2,2> Patch; /** * This is a list of patches that -- 2.39.5