diff --git a/Import/VlppWorkflowLibrary.h b/Import/VlppWorkflowLibrary.h index b613040a..d98ccf19 100644 --- a/Import/VlppWorkflowLibrary.h +++ b/Import/VlppWorkflowLibrary.h @@ -226,9 +226,9 @@ namespace vl } template - Ptr UnboxCollection(U& value) + Ptr UnboxCollection(const U& value) { - auto boxedValue = reflection::description::BoxParameter(value); + auto boxedValue = reflection::description::BoxParameter(const_cast(value)); Ptr result; reflection::description::UnboxParameter>(boxedValue, result); return result;