about summary refs log tree commit diff
path: root/src/hash.hh
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.hh
parent7b3f44e05baa49b26dd7c1ed71265c6bbc946aa4 (diff)
* Get Fix and Nix to work again.
Diffstat (limited to 'src/hash.hh')
-rw-r--r--src/hash.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hash.hh b/src/hash.hh
index 5ae5dc22ae..387939e931 100644
--- a/src/hash.hh
+++ b/src/hash.hh
@@ -17,10 +17,10 @@ struct Hash
     Hash();
 
     /* Check whether two hash are equal. */
-    bool operator == (Hash h2);
+    bool operator == (const Hash & h2) const;
 
     /* Check whether two hash are not equal. */
-    bool operator != (Hash h2);
+    bool operator != (const Hash & h2) const;
 
     /* For sorting. */
     bool operator < (const Hash & h) const;