remove redundant void

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

View File

@@ -91,7 +91,7 @@ std::string Property::getFullName() const {
return name;
}
short Property::getType(void) const
short Property::getType() const
{
short type = 0;
#define GET_PTYPE(_name) do {\
@@ -118,12 +118,12 @@ void Property::syncType(unsigned type) {
SYNC_PTYPE(NoPersist);
}
const char* Property::getGroup(void) const
const char* Property::getGroup() const
{
return father->getPropertyGroup(this);
}
const char* Property::getDocumentation(void) const
const char* Property::getDocumentation() const
{
return father->getPropertyDocumentation(this);
}
@@ -224,7 +224,7 @@ void Property::setReadOnly(bool readOnly)
this->setStatus(App::Property::ReadOnly, readOnly);
}
void Property::hasSetValue(void)
void Property::hasSetValue()
{
PropertyCleaner guard(this);
if (father) {
@@ -237,7 +237,7 @@ void Property::hasSetValue(void)
StatusBits.set(Touched);
}
void Property::aboutToSetValue(void)
void Property::aboutToSetValue()
{
if (father)
father->onBeforeChange(this);
@@ -248,7 +248,7 @@ void Property::verifyPath(const ObjectIdentifier &p) const
p.verify(*this);
}
Property *Property::Copy(void) const
Property *Property::Copy() const
{
// have to be reimplemented by a subclass!
assert(0);