From 12cd70d85d92c2efac63cd7386fc8b35608ddc5c Mon Sep 17 00:00:00 2001 From: Jonathan Stone Date: Sat, 12 Oct 2024 10:58:14 -0700 Subject: [PATCH] Remove extra newlines --- source/MaterialXCore/Definition.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/MaterialXCore/Definition.cpp b/source/MaterialXCore/Definition.cpp index 874b49183e..78ffb157e7 100644 --- a/source/MaterialXCore/Definition.cpp +++ b/source/MaterialXCore/Definition.cpp @@ -186,7 +186,6 @@ StringVec TargetDef::getMatchingTargets() const vector UnitTypeDef::getUnitDefs() const { vector unitDefs; - for (UnitDefPtr unitDef : getDocument()->getChildrenOfType(EMPTY_STRING, getDocument()->getDataLibrary())) { if (unitDef->getUnitType() == _name) @@ -194,7 +193,6 @@ vector UnitTypeDef::getUnitDefs() const unitDefs.push_back(unitDef); } } - return unitDefs; } MATERIALX_NAMESPACE_END