We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 297812d commit 6b8681bCopy full SHA for 6b8681b
src/ifcgeom/IfcGeomFunctions.cpp
@@ -159,12 +159,10 @@
159
namespace {
160
void copy_operand(const TopTools_ListOfShape& l, TopTools_ListOfShape& r) {
161
#if OCC_VERSION_HEX < 0x70000
162
- TopTools_ListOfShape r;
163
TopTools_ListIteratorOfListOfShape it(l);
164
for (; it.More(); it.Next()) {
165
r.Append(BRepBuilderAPI_Copy(it.Value()));
166
}
167
- return r;
168
#else
169
// On OCCT 7.0 and higher BRepAlgoAPI_BuilderAlgo::SetNonDestructive(true) is
170
// called. Not entirely sure on the behaviour before 7.0, so overcautiously
0 commit comments