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

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2026-01-24 21:23:34 +00:00
parent d10bd05689
commit 78f38d5c15

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]);
}