Avoid allocation of capturing lambdas in ParameterTranslationsImpl and AbstractDomainDataRegion

Description

The lambda instances used in these classes are capturing: subtly require allocations, while a little refactoring can avoid these.

Environment

None

Status

Assignee

Sanne Grinovero

Reporter

Sanne Grinovero

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Priority

Minor
Configure