Refactors test cases to use gtest
[junction.git] / junction / MapTraits.h
index de83d27dcdf72fa0bf85ec14f739d582cce4509f..a34a4bc4d5a24b6076206a8c363a3e9d28330744 100644 (file)
@@ -22,6 +22,7 @@ template <class T>
 struct DefaultKeyTraits {
     typedef T Key;
     typedef typename turf::util::BestFit<T>::Unsigned Hash;
+    static const Key NullKey = Key(0);
     static const Hash NullHash = Hash(0);
     static Hash hash(T key) {
         return turf::util::avalanche(Hash(key));