From d75c3b93fe33a5324b45b871d729aa7332450d8e Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Fri, 16 Sep 2022 11:59:16 +0200
Subject: [PATCH] [A/IO] Constifying var in OGSIOVer4 fixes warning

---
 Applications/FileIO/Legacy/OGSIOVer4.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Applications/FileIO/Legacy/OGSIOVer4.cpp b/Applications/FileIO/Legacy/OGSIOVer4.cpp
index b23d1f9322e..cfd58b39a8d 100644
--- a/Applications/FileIO/Legacy/OGSIOVer4.cpp
+++ b/Applications/FileIO/Legacy/OGSIOVer4.cpp
@@ -818,7 +818,7 @@ void writeAllDataToGLIFileV4(const std::string& fname,
 
     // writing surfaces as TIN files
     std::size_t sfcs_cnt(0);
-    for (auto& geo_name : geo_names)
+    for (auto const& geo_name : geo_names)
     {
         const GeoLib::SurfaceVec* sfcs_vec(geo.getSurfaceVecObj(geo_name));
         if (sfcs_vec)
-- 
GitLab