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 718d79fa94
commit 2c65c5681f

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;