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