Part:: Bug fix in geometry set extension

This commit is contained in:
Abdullah Tahiri
2019-01-20 12:27:48 +01:00
committed by wmayer
parent 9ba80f015c
commit a96ca31dda

View File

@@ -305,7 +305,7 @@ void Geometry::setExtension(std::unique_ptr<GeometryExtension> geo)
{
bool hasext=false;
for( auto ext : extensions) {
for( auto & ext : extensions) {
if(ext->getTypeId() == geo->getTypeId()){
ext = std::move(geo);
hasext = true;