Skip to content

Commit

Permalink
ASSIMPWriter.cpp: fix "warning: unqualified call to 'std::move'"
Browse files Browse the repository at this point in the history
  • Loading branch information
veprbl authored Oct 2, 2024
1 parent df37005 commit f1bd815
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DDCAD/src/ASSIMPWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ namespace {
dd4hep::yes_no(tes->IsDefined()));
}
std::cout << std::flush;
return move(tes);
return std::move(tes);
}

std::unique_ptr<TGeoTessellated> TessellateShape::build_mesh(int id, const std::string& name, TGeoShape* shape) {
Expand Down Expand Up @@ -191,7 +191,7 @@ namespace {
#endif
}
}
return close_tessellated(id, shape, nskip, move(tes));
return close_tessellated(id, shape, nskip, std::move(tes));
}

RootCsg::TBaseMesh* TessellateShape::make_mesh(TGeoShape* sh) const {
Expand Down

0 comments on commit f1bd815

Please sign in to comment.