mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 21:33:55 +00:00
CellSet's now hold logical structure by value, instead of by pointer.
This commit is contained in:
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;
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user