mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Do not use auto return type; it's not supported until C++14.
This commit is contained in:
parent
f1ee3f51f1
commit
9991179e6d
@ -186,7 +186,9 @@ public:
|
|||||||
VTKM_CONT vtkm::IdComponent GetNumberOfPointsInCell(vtkm::Id cellid) const override;
|
VTKM_CONT vtkm::IdComponent GetNumberOfPointsInCell(vtkm::Id cellid) const override;
|
||||||
VTKM_CONT void GetCellPointIds(vtkm::Id id, vtkm::Id* ptids) const override;
|
VTKM_CONT void GetCellPointIds(vtkm::Id id, vtkm::Id* ptids) const override;
|
||||||
|
|
||||||
VTKM_CONT auto ShapesReadPortal() const;
|
VTKM_CONT typename vtkm::cont::ArrayHandle<vtkm::UInt8, ShapesStorageTag>::ReadPortalType
|
||||||
|
ShapesReadPortal() const;
|
||||||
|
|
||||||
VTKM_CONT vtkm::UInt8 GetCellShape(vtkm::Id cellid) const override;
|
VTKM_CONT vtkm::UInt8 GetCellShape(vtkm::Id cellid) const override;
|
||||||
|
|
||||||
template <vtkm::IdComponent NumIndices>
|
template <vtkm::IdComponent NumIndices>
|
||||||
|
@ -176,7 +176,8 @@ vtkm::IdComponent CellSetExplicit<SST, CST, OST>
|
|||||||
|
|
||||||
template <typename SST, typename CST, typename OST>
|
template <typename SST, typename CST, typename OST>
|
||||||
VTKM_CONT
|
VTKM_CONT
|
||||||
auto CellSetExplicit<SST, CST, OST>::ShapesReadPortal() const
|
typename vtkm::cont::ArrayHandle<vtkm::UInt8, SST>::ReadPortalType
|
||||||
|
CellSetExplicit<SST, CST, OST>::ShapesReadPortal() const
|
||||||
{
|
{
|
||||||
return this->Data->CellPointIds.Shapes.ReadPortal();
|
return this->Data->CellPointIds.Shapes.ReadPortal();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user