Mesh: modernize C++: use default member init

This commit is contained in:
wmayer
2023-08-22 23:26:50 +02:00
committed by wwmayer
parent bc8e9f5f29
commit e613167d8d
48 changed files with 116 additions and 177 deletions

View File

@@ -725,7 +725,7 @@ bool PropertyMaterial::isSame(const App::Property& other) const
// ----------------------------------------------------------------------------
PropertyMeshKernel::PropertyMeshKernel()
: _meshObject(new MeshObject()), meshPyObject(nullptr)
: _meshObject(new MeshObject())
{
// Note: Normally this property is a member of a document object, i.e. the setValue()
// method gets called in the constructor of a subclass of DocumentObject, e.g. Mesh::Feature.