X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMDS%2Fchrono.hxx;h=3572e08ecc6fe46486ab693fc551c7c0d4867de7;hb=4cb88409b2f1c9a3ae8b87e575bac8982a561c97;hp=bee39b0b8e5067b1fc3e8a0da3e075cf2704676c;hpb=bd4e115a78b52e3fbc016e5e30bb0e19b2a9e7d6;p=modules%2Fsmesh.git diff --git a/src/SMDS/chrono.hxx b/src/SMDS/chrono.hxx index bee39b0b8..3572e08ec 100644 --- a/src/SMDS/chrono.hxx +++ b/src/SMDS/chrono.hxx @@ -1,9 +1,9 @@ -// Copyright (C) 2006-2012 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2006-2019 CEA/DEN, EDF R&D, OPEN CASCADE // // 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 @@ -46,11 +46,11 @@ protected: static int _nbChrono; }; -class SMDS_EXPORT chrono +class SMDS_EXPORT salome_chrono { public: - chrono(int i); - ~chrono(); + salome_chrono(int i); + ~salome_chrono(); void stop(); protected: bool _run; @@ -61,7 +61,7 @@ protected: #ifdef CHRONODEF #define CHRONO(i) counters::_ctrs[i]._ctrNames = (char *)__FILE__; \ counters::_ctrs[i]._ctrLines = __LINE__; \ - chrono aChrono##i(i); + salome_chrono aChrono##i(i); #define CHRONOSTOP(i) aChrono##i.stop();