From b8c98bd5f439e38be55c4faabce679d4fdd2a1fb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 22 Jan 2025 07:41:27 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- include/hpp/manipulation/device.hh | 4 +--- src/device.cc | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/hpp/manipulation/device.hh b/include/hpp/manipulation/device.hh index c4b0c6c..fb4c5b6 100644 --- a/include/hpp/manipulation/device.hh +++ b/include/hpp/manipulation/device.hh @@ -83,9 +83,7 @@ class HPP_MANIPULATION_DLLAPI Device /// \param objects Set of objects manipulated by the robot. Device(const std::string& name); - void init(const DeviceWkPtr_t& self) { - Parent_t::init(self); - } + void init(const DeviceWkPtr_t& self) { Parent_t::init(self); } void initCopy(const DeviceWkPtr_t& self, const Device& other) { Parent_t::initCopy(self, other); diff --git a/src/device.cc b/src/device.cc index eaf7e4f..937e747 100644 --- a/src/device.cc +++ b/src/device.cc @@ -139,7 +139,8 @@ void Device::removeJoints(const std::vector<std::string>& jointNames, Parent_t::removeJoints(jointNames, referenceConfig); for (auto& pair : grippers.map) - pair.second = pinocchio::Gripper::create(pair.second->name(), shared_from_this()); + pair.second = + pinocchio::Gripper::create(pair.second->name(), shared_from_this()); // TODO update handles and jointAndShapes } -- GitLab