Fixes #14349: GeoFeature::getElementTypes causes undefined behaviour

This commit is contained in:
wmayer
2024-05-30 10:17:22 +02:00
committed by wwmayer
parent 38d4fa3d6e
commit 91aac05021
2 changed files with 2 additions and 2 deletions

View File

@@ -268,7 +268,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();