From: wolf Date: Tue, 7 May 2002 06:49:09 +0000 (+0000) Subject: indicate X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9132e5310c6b602e704e0225e7fd56f879346f5a;p=dealii-svn.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