Skip to content
Snippets Groups Projects
Commit 00dbc367 authored by Julian Heinze's avatar Julian Heinze
Browse files

Included auto

-from MeshLib::PropertyVector<int> const& to auto
parent 0bd6ea3d
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ bool removeUnusedGridCells(vtkSmartPointer<vtkUnstructuredGrid> const& mesh,
template <typename T, typename VTK_TYPE>
void mapArray(MeshLib::Mesh& grid, VTK_TYPE vtk_arr, std::string const& name)
{
MeshLib::PropertyVector<int> const& cell_ids =
auto const& cell_ids =
*grid.getProperties().getPropertyVector<int>(
cell_id_name, MeshLib::MeshItemType::Cell, 1);
std::vector<T>& arr = *grid.getProperties().createNewPropertyVector<T>(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment