From 41309991ec76359901432ab8e6cd49da892c9259 Mon Sep 17 00:00:00 2001 From: ageay Date: Thu, 15 Mar 2012 07:10:01 +0000 Subject: [PATCH] Correction of compilation error. --- src/MEDPartitioner/MEDPARTITIONER_MeshCollection.cxx | 5 ++--- src/MEDPartitioner/MEDPARTITIONER_ScotchGraph.cxx | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/MEDPartitioner/MEDPARTITIONER_MeshCollection.cxx b/src/MEDPartitioner/MEDPARTITIONER_MeshCollection.cxx index d3baf7cb6..901e5f88f 100644 --- a/src/MEDPartitioner/MEDPARTITIONER_MeshCollection.cxx +++ b/src/MEDPartitioner/MEDPARTITIONER_MeshCollection.cxx @@ -239,7 +239,6 @@ void MEDPARTITIONER::MeshCollection::castCellMeshes(MeshCollection& initialColle if (meshes.size()==0) { _mesh[inew]=CreateEmptyMEDCouplingUMesh(); - //throw INTERP_KERNEL::Exception(LOCALIZED("castCellMeshes fusing : no meshes")); std::cout << "WARNING : castCellMeshes fusing : no meshes try another number of processors" << std::endl; } else @@ -1393,7 +1392,7 @@ MEDPARTITIONER::Topology* MEDPARTITIONER::MeshCollection::createPartition(int nb std::cout << "METISGraph" << std::endl; cellGraph=new METISGraph(array,edgeweights); #else - throw INTERP_KERNEL::Exception(LOCALIZED("METIS Graph is not available. Check your products, please.")); + throw INTERP_KERNEL::Exception("METIS Graph is not available. Check your products, please."); #endif break; case Graph::SCOTCH: @@ -1402,7 +1401,7 @@ MEDPARTITIONER::Topology* MEDPARTITIONER::MeshCollection::createPartition(int nb std::cout << "SCOTCHGraph" << std::endl; cellGraph=new SCOTCHGraph(array,edgeweights); #else - throw INTERP_KERNEL::Exception(LOCALIZED("SCOTCH Graph is not available. Check your products, please.")); + throw INTERP_KERNEL::Exception("SCOTCH Graph is not available. Check your products, please."); #endif break; } diff --git a/src/MEDPartitioner/MEDPARTITIONER_ScotchGraph.cxx b/src/MEDPartitioner/MEDPARTITIONER_ScotchGraph.cxx index 949397163..7daa64652 100644 --- a/src/MEDPartitioner/MEDPARTITIONER_ScotchGraph.cxx +++ b/src/MEDPartitioner/MEDPARTITIONER_ScotchGraph.cxx @@ -109,6 +109,6 @@ void SCOTCHGraph::partGraph(int ndomain, const std::string& options_string, Para _partition = new MEDPARTITIONER::SkyLineArray(index,value); #else - throw INTERP_KERNEL::Exception(LOCALIZED("SCOTCH is not available. Check your products, please.")); + throw INTERP_KERNEL::Exception("SCOTCH is not available. Check your products, please."); #endif } -- 2.39.2