diff --git a/libs/render_delegate/render_delegate.cpp b/libs/render_delegate/render_delegate.cpp index 4718e6782..78d0f278c 100644 --- a/libs/render_delegate/render_delegate.cpp +++ b/libs/render_delegate/render_delegate.cpp @@ -790,10 +790,10 @@ void HdArnoldRenderDelegate::_ParseDelegateRenderProducts(const VtValue& value) if (!value.IsHolding()) { return; } - const auto &products = value.UncheckedGet(); + auto products = value.UncheckedGet(); // For Render Delegate products, we want to eventually create arnold drivers // during batch rendering #1422 - for (const auto& productIter : products) { + for (auto& productIter : products) { HdArnoldDelegateRenderProduct product; const auto* productType = TfMapLookupPtr(productIter, _tokens->productType);