aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src
diff options
context:
space:
mode:
authorRoland Haas <rhaas@caltech.edu>2012-01-27 15:49:02 -0800
committerRoland Haas <rhaas@caltech.edu>2012-01-27 15:49:02 -0800
commitf66529c75b336eaf931ee790413c9c4c3e1b67db (patch)
treee8f9cd58c6acb020a7244289ae029db174f3813c /Carpet/CarpetLib/src
parentc1c40062787e7553eb4613c583e587b146455efa (diff)
CarpetLib: add empty constructor to struct slab to make gcc happy
Diffstat (limited to 'Carpet/CarpetLib/src')
-rw-r--r--Carpet/CarpetLib/src/gdata.hh1
1 files changed, 1 insertions, 0 deletions
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 <typename T, int D>
struct slab {
+ slab() {};
vect<T,D> offset; // dst[ipos] = src[ipos + offset * box.stride];
};
typedef slab<int,dim> islab;