#include "libmesh5.hxx"
#include <fstream>
+
+#ifndef WIN32
#include <features.h>
+#endif
+
namespace MEDCoupling
{
class DataArrayDouble;
else
{
std::vector <MeshFormatElement>* tmpVec2 = aMap[removeFromFamily.first];
-#if __GNUC_PREREQ(4,9)
- std::vector <MeshFormatElement>::const_iterator itt2;
-#else
- std::vector <MeshFormatElement>::iterator itt2;
-#endif
const MeshFormatElement e = removeFromFamily.second;
- itt2 = std::find(tmpVec2->begin(), tmpVec2->end(), e);
- if (itt2 != tmpVec2->end())
+ auto itt2 = std::find(tmpVec2->cbegin(), tmpVec2->cend(), e);
+ if (itt2 != tmpVec2->cend())
tmpVec2->erase(itt2);
if (!tmpVec2->size())
}
delete [] valTab0;
-
+ return MeshFormat::Status::DRS_OK;
}
delete [] cellToNodeFldb;
delete [] fldb;
+ return MeshFormat::Status::DRS_OK;
}
/*\
|*| extract the upper triangular matrix of fullTensor