X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCoupling%2FMEDCouplingTimeLabel.cxx;h=9933e4d946a958746bebae1a95f5bd4b1c772f6f;hb=e7a9d4f59978fd384ee98db1dfdd5ec2118331ca;hp=2ec3a8827b108fd78d09ee7984827c762e55c832;hpb=22a4bd76f2e2c06917d391a07efa1aa293b35177;p=tools%2Fmedcoupling.git diff --git a/src/MEDCoupling/MEDCouplingTimeLabel.cxx b/src/MEDCoupling/MEDCouplingTimeLabel.cxx index 2ec3a8827..9933e4d94 100644 --- a/src/MEDCoupling/MEDCouplingTimeLabel.cxx +++ b/src/MEDCoupling/MEDCouplingTimeLabel.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D +// Copyright (C) 2007-2020 CEA/DEN, 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 @@ -26,7 +26,7 @@ using namespace MEDCoupling; -std::size_t TimeLabel::GLOBAL_TIME=0; +std::atomic TimeLabel::GLOBAL_TIME(0); TimeLabel::TimeLabel():_time(GLOBAL_TIME++) {