Mesh: modernize C++11

* remove redundant void-arg
* use nullptr
* replace deprecated headers
This commit is contained in:
wmayer
2022-01-26 18:05:02 +01:00
parent 213311524e
commit 59e605e6b8
88 changed files with 651 additions and 651 deletions

View File

@@ -39,19 +39,19 @@ using namespace MeshCore;
PROPERTY_SOURCE(Mesh::Import, Mesh::Feature)
Mesh::Import::Import(void)
Mesh::Import::Import()
{
ADD_PROPERTY(FileName,(""));
}
short Mesh::Import::mustExecute(void) const
short Mesh::Import::mustExecute() const
{
if (FileName.isTouched())
return 1;
return 0;
}
App::DocumentObjectExecReturn *Mesh::Import::execute(void)
App::DocumentObjectExecReturn *Mesh::Import::execute()
{
std::unique_ptr<MeshObject> apcKernel(new MeshObject());
apcKernel->load(FileName.getValue());