From: rnv Date: Thu, 20 Oct 2016 06:37:27 +0000 (+0300) Subject: Porting to gcc6 X-Git-Tag: V8_2_0a1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=621b7b22a3aedf436a7f0b476d346b2fe050ddf1;p=modules%2Fhomard.git Porting to gcc6 --- diff --git a/src/HOMARD_I/HOMARD_Gen_i.cxx b/src/HOMARD_I/HOMARD_Gen_i.cxx index b1e21019..5b5dacc2 100644 --- a/src/HOMARD_I/HOMARD_Gen_i.cxx +++ b/src/HOMARD_I/HOMARD_Gen_i.cxx @@ -1707,7 +1707,7 @@ HOMARD::HOMARD_Cas_ptr HOMARD_Gen_i::CreateCase0(const char* nomCas, const char* // MESSAGE ( "CreateCase0 : Les valeurs extremes des coordonnees" ); std::vector LesExtremes =GetBoundingBoxInMedFile(MeshFile) ; HOMARD::extrema_var aSeq = new HOMARD::extrema() ; - if (LesExtremes.size()!=10) { return false; } + if (LesExtremes.size()!=10) { return 0; } aSeq->length(10) ; for (int i =0 ; i< LesExtremes.size() ; i++) aSeq[i]=LesExtremes[i] ;