TD: fixes warning: local variable will be copied despite being returned by name [-Wreturn-std-move]

This commit is contained in:
wmayer
2022-04-17 17:21:37 +02:00
parent cfe94b00d3
commit 23eb600774
2 changed files with 2 additions and 2 deletions

View File

@@ -325,7 +325,7 @@ TopoDS_Shape ShapeExtractor::stripInfiniteShapes(TopoDS_Shape inShape)
}
builder.Add(comp, s);
}
return comp;
return TopoDS_Shape(std::move(comp));
}
bool ShapeExtractor::is2dObject(App::DocumentObject* obj)