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

@@ -55,7 +55,7 @@ PropertyContainer::~PropertyContainer()
}
unsigned int PropertyContainer::getMemSize (void) const
unsigned int PropertyContainer::getMemSize () const
{
std::map<std::string,Property*> Map;
getPropertyMap(Map);
@@ -77,7 +77,7 @@ App::Property* PropertyContainer::addDynamicProperty(
Property *PropertyContainer::getPropertyByName(const char* name) const
{
auto prop = dynamicProps.getDynamicPropertyByName(name);
if(prop)
if(prop)
return prop;
return getPropertyData().getPropertyByName(this,name);
}
@@ -121,7 +121,7 @@ short PropertyContainer::getPropertyType(const char *name) const
const char* PropertyContainer::getPropertyGroup(const Property* prop) const
{
auto group = dynamicProps.getPropertyGroup(prop);
if(group)
if(group)
return group;
return getPropertyData().getGroup(this,prop);
}
@@ -129,7 +129,7 @@ const char* PropertyContainer::getPropertyGroup(const Property* prop) const
const char* PropertyContainer::getPropertyGroup(const char *name) const
{
auto group = dynamicProps.getPropertyGroup(name);
if(group)
if(group)
return group;
return getPropertyData().getGroup(this,name);
}
@@ -137,7 +137,7 @@ const char* PropertyContainer::getPropertyGroup(const char *name) const
const char* PropertyContainer::getPropertyDocumentation(const Property* prop) const
{
auto doc = dynamicProps.getPropertyDocumentation(prop);
if(doc)
if(doc)
return doc;
return getPropertyData().getDocumentation(this,prop);
}
@@ -145,7 +145,7 @@ const char* PropertyContainer::getPropertyDocumentation(const Property* prop) co
const char* PropertyContainer::getPropertyDocumentation(const char *name) const
{
auto doc = dynamicProps.getPropertyDocumentation(name);
if(doc)
if(doc)
return doc;
return getPropertyData().getDocumentation(this,name);
}
@@ -178,8 +178,8 @@ const char* PropertyContainer::getPropertyName(const Property* prop)const
return res;
}
const PropertyData * PropertyContainer::getPropertyDataPtr(void){return &propertyData;}
const PropertyData & PropertyContainer::getPropertyData(void) const{return propertyData;}
const PropertyData * PropertyContainer::getPropertyDataPtr(){return &propertyData;}
const PropertyData & PropertyContainer::getPropertyData() const{return propertyData;}
/**
* @brief PropertyContainer::handleChangedPropertyName is called during restore to possibly