From 78f38d5c15f3d72d780c77779da739ef47b78e3f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 24 Jan 2026 21:23:34 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/Gui/ExpressionCompleter.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Gui/ExpressionCompleter.cpp b/src/Gui/ExpressionCompleter.cpp index 7f026792f2..16f82ddb62 100644 --- a/src/Gui/ExpressionCompleter.cpp +++ b/src/Gui/ExpressionCompleter.cpp @@ -288,9 +288,11 @@ public: // Store named object property list in cache for performance purposes, // to avoid building it again for each requested index - std::vector>& getCachedPropertyNamedList(DocumentObject* obj) const { - if (!this->namedPropsCache.contains(obj)) - { + std::vector>& getCachedPropertyNamedList( + DocumentObject* obj + ) const + { + if (!this->namedPropsCache.contains(obj)) { this->namedPropsCache[obj]; obj->getPropertyNamedList(this->namedPropsCache[obj]); }