remove redundant void

This commit is contained in:
berniev
2022-07-31 14:28:37 +10:00
committed by wwmayer
parent fb5c731847
commit b40de7a509
75 changed files with 519 additions and 519 deletions

View File

@@ -49,17 +49,17 @@ const PropertyQuantityConstraint::Constraints AngleStandard = {-360,360,1.0};
TYPESYSTEM_SOURCE(App::PropertyQuantity, App::PropertyFloat)
Base::Quantity PropertyQuantity::getQuantityValue(void) const
Base::Quantity PropertyQuantity::getQuantityValue() const
{
return Quantity(_dValue,_Unit);
}
const char* PropertyQuantity::getEditorName(void) const
const char* PropertyQuantity::getEditorName() const
{
return "Gui::PropertyEditor::PropertyUnitItem";
}
PyObject *PropertyQuantity::getPyObject(void)
PyObject *PropertyQuantity::getPyObject()
{
return new QuantityPy (new Quantity(_dValue,_Unit));
}
@@ -146,13 +146,13 @@ void PropertyQuantityConstraint::setConstraints(const Constraints* sConstrain)
_ConstStruct = sConstrain;
}
const char* PropertyQuantityConstraint::getEditorName(void) const
const char* PropertyQuantityConstraint::getEditorName() const
{
return "Gui::PropertyEditor::PropertyUnitConstraintItem";
}
const PropertyQuantityConstraint::Constraints* PropertyQuantityConstraint::getConstraints(void) const
const PropertyQuantityConstraint::Constraints* PropertyQuantityConstraint::getConstraints() const
{
return _ConstStruct;
}