[factory] Adapt to function.hh deprecation

Merge request reports

Loading