about summary refs log tree commit diff
path: root/src/hash.cc
diff options
context:
space:
mode:
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 765b7ba04a39..72dcd790c7dc 100644
--- a/src/hash.cc
+++ b/src/hash.cc
@@ -14,7 +14,7 @@ Hash::Hash()
 }
 
 
-bool Hash::operator == (Hash & h2)
+bool Hash::operator == (Hash h2)
 {
     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 != (Hash h2)
 {
     return !(*this == h2);
 }