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

@@ -59,7 +59,7 @@ short Feature::mustExecute() const
return 0;
}
App::DocumentObjectExecReturn *Feature::execute(void)
App::DocumentObjectExecReturn *Feature::execute()
{
this->Points.touch();
return App::DocumentObject::StdReturn;
@@ -110,7 +110,7 @@ template class PointsExport FeatureCustomT<Points::Feature>;
namespace App {
/// @cond DOXERR
PROPERTY_SOURCE_TEMPLATE(Points::FeaturePython, Points::Feature)
template<> const char* Points::FeaturePython::getViewProviderName(void) const {
template<> const char* Points::FeaturePython::getViewProviderName() const {
return "PointsGui::ViewProviderPython";
}
/// @endcond