From ce915e576f42fc8ba151e0e658f2712623ceeb73 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 10 Jun 2024 17:21:45 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- include/hpp/manipulation/graph/dot.hh | 4 ++-- include/hpp/manipulation/graph/graph-component.hh | 2 +- include/hpp/manipulation/graph/state-selector.hh | 2 +- include/hpp/manipulation/graph/statistics.hh | 2 +- include/hpp/manipulation/handle.hh | 2 +- include/hpp/manipulation/path-planner/states-path-finder.hh | 2 +- src/graph/edge.cc | 3 ++- 7 files changed, 9 insertions(+), 8 deletions(-) diff --git a/include/hpp/manipulation/graph/dot.hh b/include/hpp/manipulation/graph/dot.hh index 7bde131c..1ddeb737 100644 --- a/include/hpp/manipulation/graph/dot.hh +++ b/include/hpp/manipulation/graph/dot.hh @@ -54,7 +54,7 @@ struct DrawingAttributes { } std::string& operator[](const std::string& K) { return attr[K]; } DrawingAttributes() - : separator(", "), openSection("["), closeSection("]"), attr(){}; + : separator(", "), openSection("["), closeSection("]"), attr() {}; }; struct Tooltip { @@ -62,7 +62,7 @@ struct Tooltip { typedef std::list<std::string> TooltipLineVector; TooltipLineVector v; - Tooltip() : v(){}; + Tooltip() : v() {}; inline std::string toStr() const { std::stringstream ss; size_t i = v.size(); diff --git a/include/hpp/manipulation/graph/graph-component.hh b/include/hpp/manipulation/graph/graph-component.hh index 11be055c..77880222 100644 --- a/include/hpp/manipulation/graph/graph-component.hh +++ b/include/hpp/manipulation/graph/graph-component.hh @@ -50,7 +50,7 @@ namespace graph { /// Define common methods of the graph components. class HPP_MANIPULATION_DLLAPI GraphComponent { public: - virtual ~GraphComponent(){}; + virtual ~GraphComponent() {}; /// Get the component name. const std::string& name() const; diff --git a/include/hpp/manipulation/graph/state-selector.hh b/include/hpp/manipulation/graph/state-selector.hh index aca69361..5287c79a 100644 --- a/include/hpp/manipulation/graph/state-selector.hh +++ b/include/hpp/manipulation/graph/state-selector.hh @@ -41,7 +41,7 @@ namespace graph { /// be ordered because a configuration can be in several states. class HPP_MANIPULATION_DLLAPI StateSelector { public: - virtual ~StateSelector(){}; + virtual ~StateSelector() {}; /// Create a new StateSelector. static StateSelectorPtr_t create(const std::string& name); diff --git a/include/hpp/manipulation/graph/statistics.hh b/include/hpp/manipulation/graph/statistics.hh index 84a1f5f8..b8a41f73 100644 --- a/include/hpp/manipulation/graph/statistics.hh +++ b/include/hpp/manipulation/graph/statistics.hh @@ -103,7 +103,7 @@ class HPP_MANIPULATION_DLLLOCAL NodeBin : public ::hpp::statistics::Bin { class HPP_MANIPULATION_DLLLOCAL Histogram { public: - virtual ~Histogram(){}; + virtual ~Histogram() {}; virtual void add(const RoadmapNodePtr_t& node) = 0; diff --git a/include/hpp/manipulation/handle.hh b/include/hpp/manipulation/handle.hh index 5c366e18..04291ace 100644 --- a/include/hpp/manipulation/handle.hh +++ b/include/hpp/manipulation/handle.hh @@ -58,7 +58,7 @@ typedef constraints::ImplicitPtr_t ImplicitPtr_t; class HPP_MANIPULATION_DLLAPI Handle { public: static std::string className; - virtual ~Handle(){}; + virtual ~Handle() {}; /// Create constraint corresponding to a gripper grasping this object /// \param robot the robot that grasps the handle, diff --git a/include/hpp/manipulation/path-planner/states-path-finder.hh b/include/hpp/manipulation/path-planner/states-path-finder.hh index e3035411..2d2dd62b 100644 --- a/include/hpp/manipulation/path-planner/states-path-finder.hh +++ b/include/hpp/manipulation/path-planner/states-path-finder.hh @@ -100,7 +100,7 @@ class HPP_MANIPULATION_DLLAPI StatesPathFinder : public core::PathPlanner { public: struct OptimizationData; - virtual ~StatesPathFinder(){}; + virtual ~StatesPathFinder() {}; static StatesPathFinderPtr_t create(const core::ProblemConstPtr_t& problem); diff --git a/src/graph/edge.cc b/src/graph/edge.cc index 7842db02..b5a727e6 100644 --- a/src/graph/edge.cc +++ b/src/graph/edge.cc @@ -445,7 +445,8 @@ bool WaypointEdge::build(core::PathPtr_t& path, ConfigurationIn_t q1, hppDout(info, "Waypoint edge " << name() << ": generateTargetConfig failed at waypoint " << i - << "." << "\nUse cache: " << useCache); + << "." + << "\nUse cache: " << useCache); lastSucceeded_ = false; return false; } -- GitLab