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

@@ -496,12 +496,12 @@ Base::Vector3d Measurement::massCenter() const
return result;
}
unsigned int Measurement::getMemSize(void) const
unsigned int Measurement::getMemSize() const
{
return 0;
}
PyObject *Measurement::getPyObject(void)
PyObject *Measurement::getPyObject()
{
if (PythonObject.is(Py::_None())) {
// ref counter is set to 1

View File

@@ -66,8 +66,8 @@ public:
MeasureType getType();
// from base class
virtual PyObject *getPyObject(void);
virtual unsigned int getMemSize(void) const;
virtual PyObject *getPyObject();
virtual unsigned int getMemSize() const;
public:
// Methods for distances (edge length, two points, edge and a point

View File

@@ -38,7 +38,7 @@
using namespace Measure;
// returns a string which represents the object e.g. when printed in python
std::string MeasurementPy::representation(void) const
std::string MeasurementPy::representation() const
{
return "<Measure::Measurement>";
}