Salome HOME
export preselected_id to client
[modules/paravis.git] / src / Plugins / ParaMEDCorba / plugin / ParaMEDMEM2VTK / VTKMEDCouplingMultiFieldsClient.cxx
index 5f37bd5aba74609ab04c8f792d4953b0f68d6439..c43cd31270253fd8bb6c92fd91d58578e1aab205 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2010-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -327,7 +327,7 @@ int ParaMEDMEM2VTK::MEDCouplingMultiFieldsFetcher::getPosGivenTimeLabel(double t
       return i;
   //2nd chance
   std::vector<double>::iterator it=std::find_if(_time_label_per_field.begin(),_time_label_per_field.end(),
-      std::bind2nd(std::greater<double>(),t));
+      std::bind(std::greater<double>(),std::placeholders::_1,t));
   if(it!=_time_label_per_field.end() && it!=_time_label_per_field.end())
     return std::distance(_time_label_per_field.begin(),it);
   //