-// Copyright (C) 2007-2020 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
/*!
* \brief Find a mesh with given persistent ID
*/
- SMESH_Mesh* GetMeshByPersistentID(int id);
+ SMESH_Mesh* GetMeshByPersistentID(int id) const;
protected:
SMESH_Gen* _gen;