From: Wolfgang Bangerth Date: Tue, 7 May 2002 06:49:09 +0000 (+0000) Subject: indicate X-Git-Tag: v8.0.0~18034 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcb1d66d5de3c76aa8489e0e2150bed50191a873;p=dealii.git 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 --- 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