[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

(cherry picked from commit 78f38d5c15)
This commit is contained in:
pre-commit-ci[bot]
2026-01-26 17:23:21 +00:00
committed by github-actions[bot]
parent fa338e6baf
commit e24c3267e3
+5 -3
View File
@@ -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<std::pair<const char*, App::Property*>>& getCachedPropertyNamedList(DocumentObject* obj) const {
if (!this->namedPropsCache.contains(obj))
{
std::vector<std::pair<const char*, App::Property*>>& getCachedPropertyNamedList(
DocumentObject* obj
) const
{
if (!this->namedPropsCache.contains(obj)) {
this->namedPropsCache[obj];
obj->getPropertyNamedList(this->namedPropsCache[obj]);
}