diff options
author | Roland Haas <rhaas@caltech.edu> | 2012-01-27 15:49:02 -0800 |
---|---|---|
committer | Roland Haas <rhaas@caltech.edu> | 2012-01-27 15:49:02 -0800 |
commit | f66529c75b336eaf931ee790413c9c4c3e1b67db (patch) | |
tree | e8f9cd58c6acb020a7244289ae029db174f3813c /Carpet/CarpetLib/src | |
parent | c1c40062787e7553eb4613c583e587b146455efa (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.hh | 1 |
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; |