PD: modernize C++11
* use nullptr
This commit is contained in:
@@ -83,7 +83,7 @@ ViewProviderDatumCoordinateSystem::ViewProviderDatumCoordinateSystem()
|
||||
autoZoom = new Gui::SoAutoZoomTranslation;
|
||||
autoZoom->ref();
|
||||
|
||||
labelSwitch = 0;
|
||||
labelSwitch = nullptr;
|
||||
}
|
||||
|
||||
ViewProviderDatumCoordinateSystem::~ViewProviderDatumCoordinateSystem()
|
||||
@@ -266,6 +266,6 @@ SoDetail* ViewProviderDatumCoordinateSystem::getDetail(const char* subelement) c
|
||||
detail->setLineIndex(2);
|
||||
return detail;
|
||||
}
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user