RobotLocomotion / drake

Model-based design and verification for robotics.
https://drake.mit.edu
Other
3.18k stars 1.24k forks source link

Fix -Wpessimizing-move #21513

Closed mwoehlke-kitware closed 1 month ago

mwoehlke-kitware commented 1 month ago

Remove a counterproductive call to std::move. Enable (as an error) the warning that catches these.

Toward #21337.


This change is Reviewable