about summary refs log tree commit diff
path: root/src/hash.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-15T22·28+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-15T22·28+0000
commitd41d085b771d0f87658fe22512178603b3a0c633 (patch)
tree55ba61b12eb910163da2994b8cc7bfb04b7ab3cc /src/hash.cc
parent7b3f44e05baa49b26dd7c1ed71265c6bbc946aa4 (diff)
* Get Fix and Nix to work again.
Diffstat (limited to 'src/hash.cc')
-rw-r--r--src/hash.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hash.cc b/src/hash.cc
index 97bf8f7856f0..b59c4f214831 100644
--- a/src/hash.cc
+++ b/src/hash.cc
@@ -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);
 }