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:
parent
7b3f44e05b
commit
d41d085b77
6 changed files with 93 additions and 268 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue