putil: Ensure SimpleHashMap::_deleted_chain/_table are always initialized

Good to be on the safe side.
This commit is contained in:
rdb 2020-12-20 00:57:20 +01:00
parent f7ab42da56
commit ac021e94d6

View File

@ -31,6 +31,8 @@ SimpleHashMap(const Compare &comp) :
template<class Key, class Value, class Compare>
INLINE SimpleHashMap<Key, Value, Compare>::
SimpleHashMap(const SimpleHashMap &copy) :
_table(nullptr),
_deleted_chain(nullptr),
_table_size(copy._table_size),
_num_entries(copy._num_entries),
_comp(copy._comp) {