1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-12 20:11:03 +01:00

* Get Fix and Nix to work again.

This commit is contained in:
Eelco Dolstra 2003-07-15 22:28:27 +00:00
parent 7b3f44e05b
commit d41d085b77
6 changed files with 93 additions and 268 deletions

View file

@ -14,7 +14,7 @@ Hash::Hash()
}
bool Hash::operator == (Hash h2)
bool Hash::operator == (const Hash & h2) const
{
for (unsigned int i = 0; i < hashSize; i++)
if (hash[i] != h2.hash[i]) return false;
@ -22,7 +22,7 @@ bool Hash::operator == (Hash h2)
}
bool Hash::operator != (Hash h2)
bool Hash::operator != (const Hash & h2) const
{
return !(*this == h2);
}