'auto' in a non-lambda function argument is not legal C++, and is hard to read besides. Replace with the right type.