StevenLOL / sparsehash

Automatically exported from code.google.com/p/sparsehash
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Not getting value of keys in already loaded dense_has_map on linux (redhat) #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Not getting value of key by using find method
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

code is attached here

Original issue reported on code.google.com by praj.cha...@gmail.com on 3 Jul 2012 at 11:17

Attachments:

GoogleCodeExporter commented 9 years ago
The code you attached has at least one dangling pointer bug. I don't think 
there is an issue with dense_hash_map here. Your code wouldn't work with 
hash_map either.

Original comment by gp...@google.com on 3 Jul 2012 at 5:03