#include "SMDS_MeshIDFactory.hxx"
+using namespace std;
+
//=======================================================================
//function : SMDS_MeshIDFactory
//purpose :
//=======================================================================
void SMDS_MeshIDFactory::ReleaseID(const int ID)
{
- if (ID < myMaxID) myPoolOfID.push(ID);
+ if (ID > 0 && ID < myMaxID) myPoolOfID.push(ID);
}