From f747d1cb46a47d59a4c898909074e79f1df32d76 Mon Sep 17 00:00:00 2001 From: apeltauer Date: Fri, 25 Jan 2019 07:47:10 +0100 Subject: [PATCH] Change the vector type to non const I dont know why this fails on linux. On windows this works.... --- src/Mod/Part/Gui/DlgProjectionOnSurface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Part/Gui/DlgProjectionOnSurface.cpp b/src/Mod/Part/Gui/DlgProjectionOnSurface.cpp index 3b1fd6f07d..7f4b224c49 100644 --- a/src/Mod/Part/Gui/DlgProjectionOnSurface.cpp +++ b/src/Mod/Part/Gui/DlgProjectionOnSurface.cpp @@ -650,7 +650,7 @@ void PartGui::DlgProjectionOnSurface::create_projection_face_from_wire(std::vect // --> othwerwise BRepBuilderAPI_MakeFace can not make a face from the wire! for (auto itWireVec : itCurrentShape.aProjectedWireVec) { - std::vector edgeVec; + std::vector edgeVec; for (TopExp_Explorer aExplorer(itWireVec, TopAbs_EDGE); aExplorer.More(); aExplorer.Next()) { auto currentEdge = TopoDS::Edge(aExplorer.Current());