From 97e44e585ea966068eefb7e2e48cefad171d0d19 Mon Sep 17 00:00:00 2001 From: Roland Haas Date: Fri, 27 Jan 2012 15:49:02 -0800 Subject: CarpetLib: add empty constructor to struct slab to make gcc happy --- Carpet/CarpetLib/src/gdata.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/Carpet/CarpetLib/src/gdata.hh b/Carpet/CarpetLib/src/gdata.hh index 6877b4974..1c903b4f7 100644 --- a/Carpet/CarpetLib/src/gdata.hh +++ b/Carpet/CarpetLib/src/gdata.hh @@ -25,6 +25,7 @@ using namespace std; // Slabbing description template struct slab { + slab() {}; vect offset; // dst[ipos] = src[ipos + offset * box.stride]; }; typedef slab islab; -- cgit v1.2.3