Fix the wrong use of auto return type deduction.