Fixed another unique_ptr/auto_ptr conversion issue.