fix clang warning about unqualified std move

This commit is contained in:
Christopher Lackner 2023-05-23 08:57:51 +02:00
parent 8374346023
commit b1b2f17c09

View File

@ -1209,7 +1209,7 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m)
std::vector<int> faces; std::vector<int> faces;
for(auto& face : GetFaces(solid)) for(auto& face : GetFaces(solid))
faces.push_back(fmap.FindIndex(face)-1); faces.push_back(fmap.FindIndex(face)-1);
solid_face_map.push_back(move(faces)); solid_face_map.push_back(std::move(faces));
auto& props = OCCGeometry::GetProperties(solid); auto& props = OCCGeometry::GetProperties(solid);
if(props.name) if(props.name)
solid_names.append(*props.name); solid_names.append(*props.name);