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 f68078e5cd
commit 1cae0fb41d
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)