diff options
author | Roland Haas <rhaas@caltech.edu> | 2012-01-27 15:49:02 -0800 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2012-09-11 18:15:43 +0100 |
commit | 97e44e585ea966068eefb7e2e48cefad171d0d19 (patch) | |
tree | ea1d60a7ea3e9399fdc2aa55487ae711c2b83913 | |
parent | edba4aec225858a5ee2969e7f1841e19eb4fa5c8 (diff) |
CarpetLib: add empty constructor to struct slab to make gcc happy
-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; |