Fem: modernize C++11

* use nullptr
This commit is contained in:
wmayer
2022-03-23 19:17:40 +01:00
parent 26c3958809
commit bde17e1b9f
88 changed files with 301 additions and 301 deletions

View File

@@ -96,7 +96,7 @@ using namespace boost;
static int StatCount = 0;
#endif
SMESH_Gen* FemMesh::_mesh_gen = 0;
SMESH_Gen* FemMesh::_mesh_gen = nullptr;
TYPESYSTEM_SOURCE(Fem::FemMesh , Base::Persistence)
@@ -2526,7 +2526,7 @@ Data::Segment* FemMesh::getSubElement(const char* /*Type*/, unsigned long /*n*/)
//str << Type << n;
//std::string temp = str.str();
//return new ShapeSegment(getSubShape(temp.c_str()));
return 0;
return nullptr;
}
struct Fem::FemMesh::FemMeshInfo FemMesh::getInfo(void) const{