mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
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:
parent
80a7a09c67
commit
d2967e13f1
38 changed files with 165 additions and 158 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in a new issue