From f66529c75b336eaf931ee790413c9c4c3e1b67db 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(+) (limited to 'Carpet/CarpetLib/src') 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