Toponaming: remove unused method with compile warnings
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -179,8 +179,6 @@ public:
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user