Points: modernize C++11

* remove redundant void-arg
* use nullptr
This commit is contained in:
wmayer
2022-01-26 17:53:41 +01:00
parent 4b788d0413
commit 4398ae54dd
19 changed files with 118 additions and 117 deletions

View File

@@ -115,7 +115,7 @@ private:
App::Document* pcDoc = App::GetApplication().newDocument("Unnamed");
Points::Feature* pcFeature = 0;
Points::Feature* pcFeature = nullptr;
if (reader->hasProperties()) {
// Scattered or structured points?
if (reader->isStructured()) {
@@ -234,7 +234,7 @@ private:
pcDoc = App::GetApplication().newDocument(DocName);
}
Points::Feature* pcFeature = 0;
Points::Feature* pcFeature = nullptr;
if (reader->hasProperties()) {
// Scattered or structured points?
if (reader->isStructured()) {