From e4423944a271a703a929b8ebae544fabea8d8705 Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Fri, 29 May 2015 09:07:40 -0400 Subject: [PATCH] CellSet's now hold logical structure by value, instead of by pointer. --- vtkm/cont/CellSet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vtkm/cont/CellSet.h b/vtkm/cont/CellSet.h index aaaf1a86b..0c21087d5 100644 --- a/vtkm/cont/CellSet.h +++ b/vtkm/cont/CellSet.h @@ -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; }; }