-// Copyright (C) 2021 CEA/DEN, EDF R&D
+// Copyright (C) 2021-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
#include <fstream>
-#ifndef WIN32
+#if !defined(WIN32) && !defined(__APPLE__)
#include <features.h>
#endif
else
{
std::vector<MeshFormatElement> *tmpVec2 = aMap[removeFromFamily.first];
-#if !defined WIN32 && __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())
return _meshFormatFamsNodes;
break;
}
+ THROW_IK_EXCEPTION("getMapAtLevel : dimRelMax must be in [0,-1,-2,1]");
}
public: