X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FTools%2FMeshCut%2FMeshCut_Utils.cxx;h=3a41721cafda0cccae8d70cce7e845831bb84f38;hb=0003e6b4fcc95a0aec695ceef8371dee28baf417;hp=e7cf9e0b41dc74fcba3adf465add33ad2ce10cd4;hpb=bd4e115a78b52e3fbc016e5e30bb0e19b2a9e7d6;p=modules%2Fsmesh.git diff --git a/src/Tools/MeshCut/MeshCut_Utils.cxx b/src/Tools/MeshCut/MeshCut_Utils.cxx index e7cf9e0b4..3a41721ca 100644 --- a/src/Tools/MeshCut/MeshCut_Utils.cxx +++ b/src/Tools/MeshCut/MeshCut_Utils.cxx @@ -1,9 +1,9 @@ -// Copyright (C) 2006-2012 EDF R&D +// Copyright (C) 2006-2016 EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -534,7 +534,7 @@ int MESHCUT::copieFichier(std::string source, std::string cible) med_geometry_type MESHCUT::InstanceMGE(TYPE_MAILLE TYPE) { - med_geometry_type typeBanaliseMED; + med_geometry_type typeBanaliseMED = MED_NONE; switch (TYPE) { @@ -589,7 +589,7 @@ med_geometry_type MESHCUT::InstanceMGE(TYPE_MAILLE TYPE) return typeBanaliseMED; } -int MESHCUT::chrono() +int MESHCUT::salome_chrono() { return clock() / CLOCKS_PER_SEC; }