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

@@ -65,7 +65,7 @@ void PropertyGeometryList::setSize(int newSize)
_lValueList.resize(newSize);
}
int PropertyGeometryList::getSize(void) const
int PropertyGeometryList::getSize() const
{
return static_cast<int>(_lValueList.size());
}
@@ -118,7 +118,7 @@ void PropertyGeometryList::set1Value(int idx, std::unique_ptr<Geometry> &&lValue
hasSetValue();
}
PyObject *PropertyGeometryList::getPyObject(void)
PyObject *PropertyGeometryList::getPyObject()
{
PyObject* list = PyList_New(getSize());
for (int i = 0; i < getSize(); i++)
@@ -219,7 +219,7 @@ void PropertyGeometryList::Restore(Base::XMLReader &reader)
setValues(std::move(values));
}
App::Property *PropertyGeometryList::Copy(void) const
App::Property *PropertyGeometryList::Copy() const
{
PropertyGeometryList *p = new PropertyGeometryList();
p->setValues(_lValueList);
@@ -232,7 +232,7 @@ void PropertyGeometryList::Paste(const Property &from)
setValues(FromList._lValueList);
}
unsigned int PropertyGeometryList::getMemSize(void) const
unsigned int PropertyGeometryList::getMemSize() const
{
int size = sizeof(PropertyGeometryList);
for (int i = 0; i < getSize(); i++)