diff options
| author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-10-10 19:31:30 -0700 |
|---|---|---|
| committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-10-10 19:31:30 -0700 |
| commit | e6dd761ca36a6c27a8bc960d09767787aa997836 (patch) | |
| tree | d179367f77be644ff3322d6875cf05e97a64e9cf /scripts/pugixml_vs2010.vcxproj | |
| parent | fbaab4dcad9eafc2c17f8030bb3c924fca644795 (diff) | |
Split hash table operations into reserve and insert
Insert is now unsafe - since we don't have a way to handle rehash()
failures transparently we need to reserve space beforehand. Reserve is now
called before every tree-mutating operations and it guarantees that we
can perform 16 arbitrary pointer mutations after that.
This fixes all test crashes with compact mode.
Diffstat (limited to 'scripts/pugixml_vs2010.vcxproj')
0 files changed, 0 insertions, 0 deletions
