Skip to content

Commit

Permalink
Remove std::move per clang-tidy suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
mvieth authored Jan 6, 2024
1 parent e2cda45 commit 43ef180
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ CorrespondenceEstimation<PointSource, PointTarget, Scalar>::determineCorresponde
const int thread_num = 0;
#endif

per_thread_correspondences[thread_num].emplace_back(std::move(corr));
per_thread_correspondences[thread_num].emplace_back(corr);
}

if (num_threads_ == 1) {
Expand Down Expand Up @@ -275,7 +275,7 @@ CorrespondenceEstimation<PointSource, PointTarget, Scalar>::
const int thread_num = 0;
#endif

per_thread_correspondences[thread_num].emplace_back(std::move(corr));
per_thread_correspondences[thread_num].emplace_back(corr);
}

if (num_threads_ == 1) {
Expand Down

0 comments on commit 43ef180

Please sign in to comment.