From 0819d776d78fa393de8481a052c21cc565746b3f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 12 Mar 2026 20:24:44 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/Mod/Sketcher/App/Sketch.cpp | 6 ++++-- src/Mod/Sketcher/App/Sketch.h | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/Mod/Sketcher/App/Sketch.cpp b/src/Mod/Sketcher/App/Sketch.cpp index 040cfcc594..1388d5053a 100644 --- a/src/Mod/Sketcher/App/Sketch.cpp +++ b/src/Mod/Sketcher/App/Sketch.cpp @@ -2581,8 +2581,10 @@ int Sketch::addConstraints( return rtn; } -bool Sketch::updateConstraints(const std::vector& constrIds, - const std::vector& ConstraintList) +bool Sketch::updateConstraints( + const std::vector& constrIds, + const std::vector& ConstraintList +) { if (Constrs.size() != ConstraintList.size()) { return false; diff --git a/src/Mod/Sketcher/App/Sketch.h b/src/Mod/Sketcher/App/Sketch.h index 0aad671354..9c4e9d8365 100644 --- a/src/Mod/Sketcher/App/Sketch.h +++ b/src/Mod/Sketcher/App/Sketch.h @@ -251,8 +251,10 @@ public: int addConstraint(const Constraint* constraint); /// Updates the internal constraints of the given indexes - bool updateConstraints(const std::vector& constrIds, - const std::vector& ConstraintList); + bool updateConstraints( + const std::vector& constrIds, + const std::vector& ConstraintList + ); /** * add a fixed X coordinate constraint to a point