diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-06-27 13:55:12 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-06-27 13:55:12 +0000 |
commit | 3da9687854e029e9df3b612fd592d2d5a622bb20 (patch) | |
tree | 4b51f62373c134bb80ff5aac51ffe613eef755e6 /src/hash.cc | |
parent | bb03c45ca03e038c8b74fc1410f48d02ade4c59b (diff) |
* Realisation of File(...) expressions.
Diffstat (limited to 'src/hash.cc')
-rw-r--r-- | src/hash.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hash.cc b/src/hash.cc index 765b7ba04..72dcd790c 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); } |