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