diff --git a/vtkm/cont/DataSet.cxx b/vtkm/cont/DataSet.cxx index d9f833c9f..bc4e84cc2 100644 --- a/vtkm/cont/DataSet.cxx +++ b/vtkm/cont/DataSet.cxx @@ -153,7 +153,7 @@ bool DataSet::HasGhostCellField() const return this->HasCellField(this->GetGhostCellFieldName()); } -const vtkm::cont::Field DataSet::GetGhostCellField() const +vtkm::cont::Field DataSet::GetGhostCellField() const { if (this->HasGhostCellField()) {