Closed GoogleCodeExporter closed 9 years ago
Weird, I thought I had compiled the unittest before I submitted the last SVN
revision, but maybe not. It does look like I did an incomplete job of adding
StrHash
as the hash function template-parameter everywhere I was hashing a string.
I believe the fix is to just change
sparse_hash_map<string, XXX>
to
sparse_hash_map<string, XXX, StrHash>
and likewise with dense_hash_map. We also need to change
sparse_hash_map<char*, XXX>
if any of those occur.
I'll take care of it after I'm back from vacation. If you'd like to do the
patch
earlier than that, feel free, and can attach it here!
Original comment by csilv...@gmail.com
on 25 Dec 2009 at 7:17
I've got a fix that works for me, that I'm having reviewed right now. Once
it's been
ok'ed, I'll let you know. May be next year, though!
Original comment by csilv...@gmail.com
on 31 Dec 2009 at 2:00
This should be resolved in sparsehash 1.6, just released.
Original comment by csilv...@gmail.com
on 11 Jan 2010 at 10:53
Original issue reported on code.google.com by
shiranpa...@gmail.com
on 24 Dec 2009 at 5:55