Skip to content

Commit b8c98bd

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4131bba commit b8c98bd

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

include/hpp/manipulation/device.hh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,7 @@ class HPP_MANIPULATION_DLLAPI Device
8383
/// \param objects Set of objects manipulated by the robot.
8484
Device(const std::string& name);
8585

86-
void init(const DeviceWkPtr_t& self) {
87-
Parent_t::init(self);
88-
}
86+
void init(const DeviceWkPtr_t& self) { Parent_t::init(self); }
8987

9088
void initCopy(const DeviceWkPtr_t& self, const Device& other) {
9189
Parent_t::initCopy(self, other);

src/device.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ void Device::removeJoints(const std::vector<std::string>& jointNames,
139139
Parent_t::removeJoints(jointNames, referenceConfig);
140140

141141
for (auto& pair : grippers.map)
142-
pair.second = pinocchio::Gripper::create(pair.second->name(), shared_from_this());
142+
pair.second =
143+
pinocchio::Gripper::create(pair.second->name(), shared_from_this());
143144
// TODO update handles and jointAndShapes
144145
}
145146

0 commit comments

Comments
 (0)