Mod: [skip ci] fix warning: [-Wreturn-std-move]

This commit is contained in:
wmayer
2022-07-29 18:55:10 +02:00
parent fc72a7979b
commit 8fb716643c
2 changed files with 2 additions and 2 deletions

View File

@@ -252,7 +252,7 @@ TopoDS_Shape BRepOffsetAPI_MakeOffsetFix::Replace(GeomAbs_CurveType type, const
xp.Next();
}
return comp;
return TopoDS_Compound(std::move(comp));
}
else if (S.ShapeType() == TopAbs_WIRE) {
return ReplaceEdges(type, TopoDS::Wire(S));