Part/PD: modernize C++: redundant void arg

This commit is contained in:
wmayer
2023-08-05 14:26:29 +02:00
committed by wwmayer
parent 702f3b4ddd
commit 22e6e2cd40
57 changed files with 163 additions and 163 deletions

View File

@@ -97,10 +97,10 @@ void FeatureAddSub::getAddSubShape(Part::TopoShape &addShape, Part::TopoShape &s
namespace App {
/// @cond DOXERR
PROPERTY_SOURCE_TEMPLATE(PartDesign::FeatureAddSubPython, PartDesign::FeatureAddSub)
template<> const char* PartDesign::FeatureAddSubPython::getViewProviderName(void) const {
template<> const char* PartDesign::FeatureAddSubPython::getViewProviderName() const {
return "PartDesignGui::ViewProviderPython";
}
template<> PyObject* PartDesign::FeatureAddSubPython::getPyObject(void) {
template<> PyObject* PartDesign::FeatureAddSubPython::getPyObject() {
if (PythonObject.is(Py::_None())) {
// ref counter is set to 1
PythonObject = Py::Object(new FeaturePythonPyT<PartDesign::FeaturePy>(this),true);