Skip to content

Commit 6b8681b

Browse files
committed
That was bad
1 parent 297812d commit 6b8681b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/ifcgeom/IfcGeomFunctions.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,10 @@
159159
namespace {
160160
void copy_operand(const TopTools_ListOfShape& l, TopTools_ListOfShape& r) {
161161
#if OCC_VERSION_HEX < 0x70000
162-
TopTools_ListOfShape r;
163162
TopTools_ListIteratorOfListOfShape it(l);
164163
for (; it.More(); it.Next()) {
165164
r.Append(BRepBuilderAPI_Copy(it.Value()));
166165
}
167-
return r;
168166
#else
169167
// On OCCT 7.0 and higher BRepAlgoAPI_BuilderAlgo::SetNonDestructive(true) is
170168
// called. Not entirely sure on the behaviour before 7.0, so overcautiously

0 commit comments

Comments
 (0)