From dedc04513908e2330490d1ad8dbbcfd311e7bfd0 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Thu, 5 Nov 2009 17:40:30 +0000
Subject: [PATCH] trying to fix compile on sun (again)

---
 Geo/GModelIO_Mesh.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Geo/GModelIO_Mesh.cpp b/Geo/GModelIO_Mesh.cpp
index c69e7f49b0..209b5f31e8 100644
--- a/Geo/GModelIO_Mesh.cpp
+++ b/Geo/GModelIO_Mesh.cpp
@@ -534,7 +534,7 @@ static void writeElementsMSH(FILE *fp, T *ele, bool saveAll,
 }
 
 template<class T>
-static void writeElementsMSH(FILE *fp, const std::vector<T*> &ele, bool saveAll,
+static void writeElementsMSH(FILE *fp, std::vector<T*> &ele, bool saveAll,
                              double version, bool binary, int &num, int elementary,
                              std::vector<int> &physicals)
 {
@@ -544,7 +544,7 @@ static void writeElementsMSH(FILE *fp, const std::vector<T*> &ele, bool saveAll,
 }
 
 template<class T>
-static void writeElementsMSH(FILE *fp, const std::vector<T*> &ele, bool saveAll,
+static void writeElementsMSH(FILE *fp, std::vector<T*> &ele, bool saveAll,
                              double version, bool binary, int &num, int elementary,
                              std::vector<int> &physicals, std::map<MElement *, int> &parentsNum)
 {
-- 
GitLab