martinus / robin-hood-hashing

Fast & memory efficient hashtable based on robin hood hashing for C++11/14/17/20
https://gitter.im/martinus/robin-hood-hashing
MIT License
1.5k stars 142 forks source link

Don't discart try_increase_info return on increase_size. #152

Closed AlexPeixoto closed 2 years ago

AlexPeixoto commented 2 years ago

This is due to increase_size always returning true if we discart its return, making the lines that checks for failure on increase_size inside insertKeyPrepareEmptySpot to never be reached.