Mod: redundant void 2
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user