xdspacelab / openvslam

OpenVSLAM: A Versatile Visual SLAM Framework
https://openvslam.readthedocs.io/
2.97k stars 869 forks source link

Fix warning by removing redundant std::move() #519

Closed alexdewar closed 3 years ago

alexdewar commented 3 years ago

In convert_keypoints_to_json() the variable json_keypoints is returned with an unnecessary enclosing std::move() (it will already be moved by RVO), giving a gcc warning. Fix it.