aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/gdata.hh
diff options
context:
space:
mode:
authorRoland Haas <rhaas@caltech.edu>2012-01-27 15:49:02 -0800
committerBarry Wardell <barry.wardell@gmail.com>2012-09-11 18:15:43 +0100
commit97e44e585ea966068eefb7e2e48cefad171d0d19 (patch)
treeea1d60a7ea3e9399fdc2aa55487ae711c2b83913 /Carpet/CarpetLib/src/gdata.hh
parentedba4aec225858a5ee2969e7f1841e19eb4fa5c8 (diff)
CarpetLib: add empty constructor to struct slab to make gcc happy
Diffstat (limited to 'Carpet/CarpetLib/src/gdata.hh')
-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;