added 'const' in the argument of ItemData::operator==().