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

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

View File

@@ -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)