Mod: redundant void 2

This commit is contained in:
berniev
2022-08-07 20:05:16 +10:00
committed by wwmayer
parent 311abcc43e
commit da9ebc572f
805 changed files with 3787 additions and 3787 deletions

View File

@@ -33,7 +33,7 @@
using namespace Part;
// returns a string which represents the object e.g. when printed in python
std::string OffsetCurve2dPy::representation(void) const
std::string OffsetCurve2dPy::representation() const
{
return "<OffsetCurve2d object>";
}
@@ -74,7 +74,7 @@ int OffsetCurve2dPy::PyInit(PyObject* args, PyObject* /*kwd*/)
}
}
Py::Float OffsetCurve2dPy::getOffsetValue(void) const
Py::Float OffsetCurve2dPy::getOffsetValue() const
{
Handle(Geom2d_OffsetCurve) curve = Handle(Geom2d_OffsetCurve)::DownCast(getGeometry2dPtr()->handle());
return Py::Float(curve->Offset());
@@ -86,7 +86,7 @@ void OffsetCurve2dPy::setOffsetValue(Py::Float arg)
curve->SetOffsetValue((double)arg);
}
Py::Object OffsetCurve2dPy::getBasisCurve(void) const
Py::Object OffsetCurve2dPy::getBasisCurve() const
{
Handle(Geom2d_OffsetCurve) curve = Handle(Geom2d_OffsetCurve)::DownCast(getGeometry2dPtr()->handle());
Handle(Geom2d_Curve) basis = curve->BasisCurve();