Add omitted 'std::' to max(); and min();