• Mike Lang's avatar
    merger: Pass reports via closure, instead of by reference in args · d20381d3
    Mike Lang authored
    This is an alternate way of solving the same problem as 4007a902a264e5ff2c3be6b269ade515c9c1c145,
    but in a nicer way. Compared to using pointers, this approach more obviously preserves the original
    behaviour, and is arguably more readable than the original code.
    
    Credit to @rade for this approach.
    d20381d3