From 91c706020cb2a8919b491bc155b67b841f68aacf Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Mon, 1 Sep 2008 16:28:22 +0000
Subject: [PATCH] fix const in dummy writeCGNS

---
 Geo/GModelIO_CGNS.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Geo/GModelIO_CGNS.cpp b/Geo/GModelIO_CGNS.cpp
index d620d0a00b..7939d9ccd3 100644
--- a/Geo/GModelIO_CGNS.cpp
+++ b/Geo/GModelIO_CGNS.cpp
@@ -1067,7 +1067,7 @@ int GModel::readCGNS(const std::string &name)
   return 0;
 }
 
-int GModel::writeCGNS(const std::string &name, const int zoneDefinition,
+int GModel::writeCGNS(const std::string &name, int zoneDefinition,
                       const CGNSOptions &options, double scalingFactor)
 {
   Message::Error("This version of Gmsh was compiled without CGNS support");
-- 
GitLab