about summary refs log tree commit diff
path: root/src/hash.hh
diff options
context:
space:
mode:
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 5ae5dc22aed8..387939e9311a 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;