X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCoupling%2FMEDCouplingTimeLabel.cxx;h=256ddbb0191f10e015e8616097e465d0d8140e2f;hb=0ba3453939dda0697b09ed7e728a01d4f33e3ce2;hp=66b495b8c32f050269dd0fe925514e42fe85a9bd;hpb=75943f980f7b908052ef03c2c0154508f4b0a039;p=tools%2Fmedcoupling.git diff --git a/src/MEDCoupling/MEDCouplingTimeLabel.cxx b/src/MEDCoupling/MEDCouplingTimeLabel.cxx index 66b495b8c..256ddbb01 100644 --- a/src/MEDCoupling/MEDCouplingTimeLabel.cxx +++ b/src/MEDCoupling/MEDCouplingTimeLabel.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D +// Copyright (C) 2007-2023 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -24,9 +24,9 @@ #include -using namespace ParaMEDMEM; +using namespace MEDCoupling; -std::size_t TimeLabel::GLOBAL_TIME=0; +std::atomic TimeLabel::GLOBAL_TIME(0); TimeLabel::TimeLabel():_time(GLOBAL_TIME++) { @@ -54,7 +54,7 @@ void TimeLabel::updateTimeWith(const TimeLabel& other) const } /*! - * This method has to be called with a lot of care. It set agressively the time in this with the + * This method has to be called with a lot of care. It set aggressively the time in this with the * time in \a other. */ void TimeLabel::forceTimeOfThis(const TimeLabel& other) const