diff --git a/vtkm/cont/CellSetExplicit.h b/vtkm/cont/CellSetExplicit.h index 4a089f0e7..6544ca0e1 100644 --- a/vtkm/cont/CellSetExplicit.h +++ b/vtkm/cont/CellSetExplicit.h @@ -517,8 +517,10 @@ private: #undef VTKM_GET_CONNECTIVITY_METHOD +protected: // These are used in the AddCell and related methods to incrementally add - // cells. + // cells. They need to be protected as subclasses of CellSetExplicit + // need to set these values when implementing Fill() vtkm::Id ConnectivityLength; vtkm::Id NumberOfCells; vtkm::Id NumberOfPoints;