Fix HashString static hashString in cpp