From cd02aac79547f9f8454b9f9b791048eb3952bc7e Mon Sep 17 00:00:00 2001 From: wmayer Date: Sun, 19 Aug 2018 12:28:05 +0200 Subject: [PATCH] fix -Wparentheses --- src/Mod/Part/App/Attacher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Part/App/Attacher.cpp b/src/Mod/Part/App/Attacher.cpp index 39613f56f3..6ba2f56fc2 100644 --- a/src/Mod/Part/App/Attacher.cpp +++ b/src/Mod/Part/App/Attacher.cpp @@ -1401,7 +1401,7 @@ Base::Placement AttachEngine3D::calculateAttachedPlacement(Base::Placement origP throw Base::ValueError("AttachEngine3D::calculateAttachedPlacement: not enough shapes (need 4 lines: edgeA, axisA, axisB, edgeB)."); //extract the four lines - const TopoDS_Edge* (edges[4]); + const TopoDS_Edge* edges[4]; BRepAdaptor_Curve adapts[4]; gp_Lin lines[4]; for(int i=0 ; i<4 ; i++){