From 8fb7a47f60cdf18d5143004682bb743be38a0d5a Mon Sep 17 00:00:00 2001 From: Stefen Guzik <guzik2@llnl.gov> Date: Mon, 28 Jul 2008 20:09:24 +0000 Subject: [PATCH] Minor bug fix --- Geo/MZoneBoundary.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Geo/MZoneBoundary.h b/Geo/MZoneBoundary.h index 88426a903d..6d6e47913b 100644 --- a/Geo/MZoneBoundary.h +++ b/Geo/MZoneBoundary.h @@ -182,14 +182,16 @@ class MZoneBoundary * Internal types *============================================================================*/ - private: - //--Type of face (MEdge or MFace) + private: + typedef typename DimTr<DIM>::FaceT FaceT; //--Data stored for connectivity of vertices + public: + template<typename FaceT> struct GlobalVertexData { @@ -236,6 +238,8 @@ class MZoneBoundary GlobalVertexData() { } }; + private: + typedef std::map<const MVertex*, GlobalVertexData<FaceT>, std::less<const MVertex*> > GlobalBoVertexMap; -- GitLab