From 00dbc367f057aa586077fd06e89689159d60bc56 Mon Sep 17 00:00:00 2001 From: Julian Heinze <julian.heinze@ufz.de> Date: Mon, 15 May 2023 10:57:51 +0200 Subject: [PATCH] Included auto -from MeshLib::PropertyVector<int> const& to auto --- MeshToolsLib/MeshGenerators/VoxelGridFromMesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MeshToolsLib/MeshGenerators/VoxelGridFromMesh.cpp b/MeshToolsLib/MeshGenerators/VoxelGridFromMesh.cpp index c2c9946edc8..1c5911d578e 100644 --- a/MeshToolsLib/MeshGenerators/VoxelGridFromMesh.cpp +++ b/MeshToolsLib/MeshGenerators/VoxelGridFromMesh.cpp @@ -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>( -- GitLab