Skip to content

Commit 6f6cae7

Browse files
using move
1 parent a8a5f4c commit 6f6cae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocs2_pinocchio/ocs2_self_collision/src/SelfCollisionConstraintCppAd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ SelfCollisionConstraintCppAd::SelfCollisionConstraintCppAd(PinocchioInterface pi
6666
selfCollision_(pinocchioInterface_, std::move(pinocchioGeometryInterface), minimumDistance, modelName, modelFolder,
6767
recompileLibraries, verbose),
6868
mappingPtr_(mapping.clone()),
69-
updateCallback_(updateCallback) {
69+
updateCallback_(std::move(updateCallback)) {
7070
mappingPtr_->setPinocchioInterface(pinocchioInterface_);
7171
}
7272

0 commit comments

Comments
 (0)