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-15T21·24+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-15T21·24+0000
commit7b3f44e05baa49b26dd7c1ed71265c6bbc946aa4 (patch)
tree0823fdc1f082f027031dd2615eade33cf29688c0 /src/hash.hh
parentf5b6fa5256efce5f7a963386cd16e441446f5746 (diff)
* The new normaliser now passes the unit tests.
Diffstat (limited to 'src/hash.hh')
-rw-r--r--src/hash.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hash.hh b/src/hash.hh
index 509a27912a72..5ae5dc22aed8 100644
--- a/src/hash.hh
+++ b/src/hash.hh
@@ -22,6 +22,9 @@ struct Hash
     /* Check whether two hash are not equal. */
     bool operator != (Hash h2);
 
+    /* For sorting. */
+    bool operator < (const Hash & h) const;
+
     /* Convert a hash code into a hexadecimal representation. */
     operator string() const;
 };