Avoid returning reference to auto variable.