Replaced const T& by T where T is an integer type.