]> SALOME platform Git repositories - tools/medcoupling.git/blobdiff - src/MEDCoupling/MEDCouplingMemArray.txx
Salome HOME
refactor!: remove adm_local/ directory
[tools/medcoupling.git] / src / MEDCoupling / MEDCouplingMemArray.txx
index 01863c8546771884d5ff26e19b58b0e167f1cadd..b3d517532cbe27f7c24b48e28af1e63d1c9aad66 100755 (executable)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2022  CEA/DEN, EDF R&D
+// Copyright (C) 2007-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
@@ -4944,8 +4944,9 @@ struct NotInRange
     this->checkAllocated();
     constexpr char MSG1[] = "DataArrayInt::locateComponentId : single component array expected";
     valToSearchIntoTuples->checkNbOfComps(1,MSG1); tupleIdHint->checkNbOfComps(1,MSG1);
-    auto nbOfCompo( this->getNumberOfComponents() ),thisNbTuples( this->getNumberOfTuples() );
-    auto nbOfTuples( valToSearchIntoTuples->getNumberOfTuples() );
+    std::size_t nbOfCompo( this->getNumberOfComponents() );
+    mcIdType thisNbTuples( this->getNumberOfTuples() );
+    mcIdType nbOfTuples( valToSearchIntoTuples->getNumberOfTuples() );
     tupleIdHint->checkNbOfTuples(nbOfTuples,"Number of tuples of input arrays must be the same.");
     const T *cPtr(this->begin()),*valSearchPt(valToSearchIntoTuples->begin());
     const mcIdType *tHintPtr(tupleIdHint->begin());