convert auto_ptr to unique_ptr

Some local indentation fixing as well because spaces and tabs were mixed up and it was confusing to read

Merge request reports

Loading