From c2bd4f4e2ecc62d051cab04a62d3b953c7a65211 Mon Sep 17 00:00:00 2001 From: Tim Schneider Date: Tue, 28 May 2024 00:37:09 +0200 Subject: [PATCH] Fixed argument name in JointState constructor --- include/franky/joint_state.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/franky/joint_state.hpp b/include/franky/joint_state.hpp index 1de3ca68..2bf56a75 100644 --- a/include/franky/joint_state.hpp +++ b/include/franky/joint_state.hpp @@ -17,8 +17,8 @@ class JointState { JointState(Vector7d position) : position_(std::move(position)), velocity_(Vector7d::Zero()) {} #pragma clang diagnostic pop - JointState(Vector7d pose, Vector7d velocity) - : position_(std::move(pose)), velocity_(std::move(velocity)) {} + JointState(Vector7d position, Vector7d velocity) + : position_(std::move(position)), velocity_(std::move(velocity)) {} JointState(const JointState &) = default;