CellSet's now hold logical structure by value, instead of by pointer.

This commit is contained in:
Robert Maynard 2015-05-29 09:07:40 -04:00
parent 895a0dff6c
commit e4423944a2

@ -34,7 +34,7 @@ class CellSet
{
public:
CellSet(const std::string &n, int d)
: name(n), dimensionality(d), logicalStructure(NULL)
: name(n), dimensionality(d), logicalStructure()
{
}
@ -68,7 +68,7 @@ public:
protected:
std::string name;
int dimensionality;
vtkm::cont::LogicalStructure *logicalStructure;
vtkm::cont::LogicalStructure logicalStructure;
};
}