uppsrc: In preparation to move to 64 bit hash codes, hash code type is now hash_t (replaces unsigned, dword)

git-svn-id: svn://ultimatepp.org/upp/trunk@14521 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2020-05-31 16:13:28 +00:00
commit d2967e13f1
38 changed files with 165 additions and 158 deletions

View file

@ -46,7 +46,7 @@ void ValueArray::Data::Xmlize(XmlIO& io)
Upp::Xmlize(io, data);
}
unsigned ValueArray::Data::GetHashValue() const
hash_t ValueArray::Data::GetHashValue() const
{
CombineHash w(data.GetCount());
for(int i = 0; i < data.GetCount(); i++)
@ -333,7 +333,7 @@ void ValueMap::Data::Jsonize(JsonIO& jio)
}
}
unsigned ValueMap::Data::GetHashValue() const {
hash_t ValueMap::Data::GetHashValue() const {
CombineHash w(key.GetCount());
for(int i = 0; i < key.GetCount(); i++)
w.Put(key[i].GetHashValue());