From 1cfb2af0aea3f172a646109e236c2c5056269d83 Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Fri, 29 Jan 2021 06:04:49 +0100 Subject: [PATCH] [A/U/ME/createLayeredMeshFromRaster] Constify rasters. --- Applications/Utils/MeshEdit/createLayeredMeshFromRasters.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/Utils/MeshEdit/createLayeredMeshFromRasters.cpp b/Applications/Utils/MeshEdit/createLayeredMeshFromRasters.cpp index 03af4d18100..2d3c1c7144c 100644 --- a/Applications/Utils/MeshEdit/createLayeredMeshFromRasters.cpp +++ b/Applications/Utils/MeshEdit/createLayeredMeshFromRasters.cpp @@ -112,7 +112,7 @@ int main (int argc, char* argv[]) std::reverse(raster_paths.begin(), raster_paths.end()); MeshLib::MeshLayerMapper mapper; - if (auto rasters = FileIO::readRasters(raster_paths)) + if (auto const rasters = FileIO::readRasters(raster_paths)) { if (!mapper.createLayers(*sfc_mesh, *rasters, min_thickness)) { -- GitLab