From 4db4adcdcc4e470ca3a60f36ccef8fb2f9887715 Mon Sep 17 00:00:00 2001 From: Stefen Guzik <guzik2@llnl.gov> Date: Sat, 26 Jul 2008 17:08:30 +0000 Subject: [PATCH] Fix for mac g++ --- Geo/MZoneBoundary.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Geo/MZoneBoundary.h b/Geo/MZoneBoundary.h index cfc6e737a1..88426a903d 100644 --- a/Geo/MZoneBoundary.h +++ b/Geo/MZoneBoundary.h @@ -206,7 +206,8 @@ class MZoneBoundary parentFace(bFMapIt->second.parentFace), faceIndex(bFMapIt->second.faceIndex), zoneIndex(_zoneIndex) { } - private: +// private: // Default constructor should be private ... but currently + // fails on some compilers (earlier versions of g++?) // The default constructor is required by 'set_offsets()' in // class 'FaceAllocator'. This is invoked by preInit() below. FaceDataB(); @@ -219,7 +220,8 @@ class MZoneBoundary ZoneData(const int _vertexIndex, const int _zoneIndex) : vertexIndex(_vertexIndex), zoneIndex(_zoneIndex) { } - private: +// private: // Default constructor should be private ... but currently + // fails on some compilers (earlier versions of g++?) // The default constructor is required by 'set_offsets()' in // class 'FaceAllocator'. This is invoked by preInit() below. ZoneData() { }; -- GitLab