File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -473,7 +473,8 @@ void SerialContainerPrivate::resolveInterface(InterfaceFlags expected) {
473473 exceptions.append (e);
474474 }
475475
476- required_interface_ = first.pimpl ()->interfaceFlags () & START_IF_MASK | last.pimpl ()->interfaceFlags () & END_IF_MASK;
476+ required_interface_ = (first.pimpl ()->interfaceFlags () & START_IF_MASK) | // clang-format off
477+ (last.pimpl ()->interfaceFlags () & END_IF_MASK); // clang-format off
477478
478479 if (exceptions)
479480 throw exceptions;
Original file line number Diff line number Diff line change @@ -91,10 +91,8 @@ moveit::core::JointModelGroup* merge(const std::vector<const moveit::core::Joint
9191 if (joints.size () != sum_joints) { // overlapping joint groups: analyse in more detail
9292 auto duplicates = findDuplicates (groups, joints);
9393 if (!duplicates.empty ()) {
94- std::string message (
95- " overlapping joints: " +
96- boost::algorithm::join (duplicates | boost::adaptors::transformed ([](auto && j) { return j->getName (); }),
97- " , " ));
94+ auto getJointName = boost::adaptors::transformed ([](auto && jm) { return jm->getName (); });
95+ std::string message (" overlapping joints: " + boost::algorithm::join (duplicates | getJointName, " , " ));
9896 throw std::runtime_error (message);
9997 }
10098 }
You can’t perform that action at this time.
0 commit comments