From: bangerth Date: Sat, 20 Aug 2011 23:46:56 +0000 (+0000) Subject: In a forward declaration, use whether a type was actually declared as X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=989bb937de29cfa1efff108c88456ebac5346cf3;p=dealii-svn.git In a forward declaration, use whether a type was actually declared as a struct or class. git-svn-id: https://svn.dealii.org/trunk@24126 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/base/geometry_info.h b/deal.II/include/deal.II/base/geometry_info.h index edea7b0a46..8682c72127 100644 --- a/deal.II/include/deal.II/base/geometry_info.h +++ b/deal.II/include/deal.II/base/geometry_info.h @@ -286,7 +286,7 @@ class RefinementCase : public RefinementPossibilities * refinement case with no_refinement. */ RefinementCase (); - + /** * Constructor. Take and store a * value indicating a particular @@ -388,9 +388,9 @@ class RefinementCase : public RefinementPossibilities static std::size_t memory_consumption (); /** - * Read or write the data of this object to or + * Read or write the data of this object to or * from a stream for the purpose of serialization - */ + */ template void serialize(Archive & ar, const unsigned int version); @@ -763,7 +763,7 @@ namespace internal -template class GeometryInfo; +template struct GeometryInfo; @@ -2477,7 +2477,7 @@ template void RefinementCase::serialize (Archive &ar, const unsigned int) { - // serialization can't deal with bitfields, so copy from/to a full sized + // serialization can't deal with bitfields, so copy from/to a full sized // unsigned char unsigned char uchar_value = value; ar & uchar_value;