From a96ca31ddaa3d2aaa089a69149b448f7cf071946 Mon Sep 17 00:00:00 2001 From: Abdullah Tahiri Date: Sun, 20 Jan 2019 12:27:48 +0100 Subject: [PATCH] Part:: Bug fix in geometry set extension --- src/Mod/Part/App/Geometry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Part/App/Geometry.cpp b/src/Mod/Part/App/Geometry.cpp index 30a1231a03..d03ba92be1 100644 --- a/src/Mod/Part/App/Geometry.cpp +++ b/src/Mod/Part/App/Geometry.cpp @@ -305,7 +305,7 @@ void Geometry::setExtension(std::unique_ptr geo) { bool hasext=false; - for( auto ext : extensions) { + for( auto & ext : extensions) { if(ext->getTypeId() == geo->getTypeId()){ ext = std::move(geo); hasext = true;