Skip to content

Commit

Permalink
Toponaming: remove unused method with compile warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bgbsww authored and chennes committed Jun 2, 2024
1 parent 2671482 commit 77fc1de
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
8 changes: 0 additions & 8 deletions src/App/GeoFeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,12 +278,4 @@ std::vector<const char*> GeoFeature::getElementTypes(bool /*all*/) const
return prop->getComplexData()->getElementTypes();
}

std::vector<Data::IndexedName> GeoFeature::getHigherElements(const char* element, bool silent) const
{
auto prop = getPropertyOfGeometry();
if (!prop) {
return {};
}
return prop->getComplexData()->getHigherElements(element, silent);
}
#endif
2 changes: 0 additions & 2 deletions src/App/GeoFeature.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,6 @@ class AppExport GeoFeature : public App::DocumentObject

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;

protected:
void onChanged(const Property* prop) override;
Expand Down

0 comments on commit 77fc1de

Please sign in to comment.