Skip to content

[python][bugfix] Do not capture reference to temporary

The registerChildAccessor() function for providing Python-access to children captures a temporary std::array of type-erased accessor functions. Since the array is a local variable, this needs to be done by value.

Merge request reports