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 and andresailer committed Oct 3, 2024
1 parent df37005 commit 18c7637
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 18c7637

Please sign in to comment.