Mod: [skip ci] fix warning: [-Wreturn-std-move]
This commit is contained in:
@@ -756,7 +756,7 @@ TopoDS_Shape DrawUtil::vectorToCompound(std::vector<TopoDS_Edge> vecIn)
|
||||
for (auto& v : vecIn) {
|
||||
builder.Add(compOut, v);
|
||||
}
|
||||
return compOut;
|
||||
return TopoDS_Compound(std::move(compOut));
|
||||
}
|
||||
//get 3d position of a face's center
|
||||
Base::Vector3d DrawUtil::getFaceCenter(TopoDS_Face f)
|
||||
|
||||
Reference in New Issue
Block a user