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

@@ -41,7 +41,7 @@ using namespace Part;
extern const char* gce_ErrorStatusText(gce_ErrorType et);
// returns a string which represents the object e.g. when printed in python
std::string LineSegmentPy::representation(void) const
std::string LineSegmentPy::representation() const
{
std::stringstream str;
Base::Vector3d start = getGeomLineSegmentPtr()->getStartPoint();
@@ -198,7 +198,7 @@ PyObject* LineSegmentPy::setParameterRange(PyObject *args)
Py_Return;
}
Py::Object LineSegmentPy::getStartPoint(void) const
Py::Object LineSegmentPy::getStartPoint() const
{
Handle(Geom_TrimmedCurve) this_curve = Handle(Geom_TrimmedCurve)::DownCast
(this->getGeomLineSegmentPtr()->handle());
@@ -254,7 +254,7 @@ void LineSegmentPy::setStartPoint(Py::Object arg)
}
}
Py::Object LineSegmentPy::getEndPoint(void) const
Py::Object LineSegmentPy::getEndPoint() const
{
Handle(Geom_TrimmedCurve) this_curve = Handle(Geom_TrimmedCurve)::DownCast
(this->getGeomLineSegmentPtr()->handle());