# # # patch "ChangeLog" # from [954cbde3565aee269a137947c2edcfd9dde355fb] # to [ffc3998b09deb176d2944cae21c955663abc1e62] # # patch "hash_map.hh" # from [31c2c4fe7ee4f4f734405fdaf34362fd371e2028] # to [09875b4cfb4cad706ebad82bf7a590f61bbb6c6c] # ============================================================ --- ChangeLog 954cbde3565aee269a137947c2edcfd9dde355fb +++ ChangeLog ffc3998b09deb176d2944cae21c955663abc1e62 @@ -1,5 +1,7 @@ 2006-06-20 Matthew Gregan + * hash_map.hh: Add a specialization for unsigned long; fixes build + on Cygwin/GCC 3.4. Thanks to Lapo Luchini for the original patch. * win32/monotone.iss: Add monotone logo to wizard (generated from figures/monotone-logo.svg). Sanity check key ID, branch name, and workspace path. ============================================================ --- hash_map.hh 31c2c4fe7ee4f4f734405fdaf34362fd371e2028 +++ hash_map.hh 09875b4cfb4cad706ebad82bf7a590f61bbb6c6c @@ -32,6 +32,15 @@ return t; } }; + + template<> + struct hash + { + size_t operator()(unsigned long t) const + { + return t; + } + }; } #ifdef HAVE_GNUCXX_HASHMAP