Part/PD: modernize C++: redundant void arg
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -44,10 +44,10 @@ public:
|
||||
/** @name methods override feature */
|
||||
//@{
|
||||
/// recalculate the feature
|
||||
App::DocumentObjectExecReturn *execute(void) override;
|
||||
App::DocumentObjectExecReturn *execute() override;
|
||||
short mustExecute() const override;
|
||||
/// returns the type name of the view provider
|
||||
const char* getViewProviderName(void) const override {
|
||||
const char* getViewProviderName() const override {
|
||||
return "PartDesignGui::ViewProviderFillet";
|
||||
}
|
||||
//@}
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
using namespace PartDesign;
|
||||
|
||||
// returns a string which represent the object e.g. when printed in python
|
||||
std::string FeaturePy::representation(void) const
|
||||
std::string FeaturePy::representation() const
|
||||
{
|
||||
App::DocumentObject* object = this->getFeaturePtr();
|
||||
std::stringstream str;
|
||||
|
||||
Reference in New Issue
Block a user