Cleanup, format

This commit is contained in:
bgbsww
2024-07-21 22:28:59 -04:00
parent 38269241e6
commit 1eda66dfd8
6 changed files with 37 additions and 46 deletions

View File

@@ -269,7 +269,7 @@ const std::vector<std::string>& GeoFeature::searchElementCache(const std::string
return none;
}
const std::vector<const char*>& GeoFeature::getElementTypes(bool /*all*/) const
std::vector<const char*> GeoFeature::getElementTypes(bool /*all*/) const
{
static std::vector<const char*> nil;
auto prop = getPropertyOfGeometry();

View File

@@ -175,7 +175,7 @@ public:
virtual DocumentObject *getElementOwner(const Data::MappedName & /*name*/) const
{return nullptr;}
virtual const std::vector<const char *>& getElementTypes(bool all=true) const;
virtual std::vector<const char *> getElementTypes(bool all=true) const;
/// Return the higher level element names of the given element
virtual std::vector<Data::IndexedName> getHigherElements(const char *name, bool silent=false) const;