X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCoupling%2FMEDCouplingMemArray.txx;h=0a0128161c97e2d1b14e8a8a604250f58dd9fe5f;hb=9abc40a840f69fd7f07b356cd31876b64dc81e14;hp=01863c8546771884d5ff26e19b58b0e167f1cadd;hpb=e047259d4379db94f72d88eb21596f08f4ca6613;p=tools%2Fmedcoupling.git diff --git a/src/MEDCoupling/MEDCouplingMemArray.txx b/src/MEDCoupling/MEDCouplingMemArray.txx index 01863c854..0a0128161 100755 --- a/src/MEDCoupling/MEDCouplingMemArray.txx +++ b/src/MEDCoupling/MEDCouplingMemArray.txx @@ -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());