_values->reAlloc(valSz);
iP = _index->getPointer();
vP = _values->getPointer();
- for (auto values : valuesByIdx)
+ for (std::deque< std::set<int> >::const_iterator values=valuesByIdx.begin(); values!=valuesByIdx.end(); ++values)
{
- std::copy(values.begin(), values.end(), vP+(*iP));
+ std::copy((*values).begin(), (*values).end(), vP+(*iP));
iP++;
}
}
void MEDCouplingSkyLineArray::deleteSimplePacks(const DataArrayInt* idx)
{
- for (auto id = idx->begin(); id != idx->end(); id++)
+ for (const int *id = idx->begin(); id != idx->end(); id++)
validIndex("deleteSimplePacks", *id);
std::set<int> packsToDelete(idx->begin(), idx->end());