diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-10-05 22:02:45 +0000 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-10-06 02:25:40 +0200 |
commit | e7d5bad5ae083da12c3ec4a4a8bdc8b42447a242 (patch) | |
tree | 3dcb983f4b431a9e2c46236b96c2816859492251 /jurt | |
parent | 0f1ae0debdcb0d3e80651873b09ad23dfaa90123 (diff) |
lru_map: fix std::move insert
After the move the std::pair is invalid.
That caused invalid iterators on lookups - hard to debug...
Also adds an assertion to warn if size of map and list differ.
Change-Id: Ib987d47963d5e1009d64a96dcdd588a0bc27cd77
Reviewed-on: https://gerrit.libreoffice.org/61451
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'jurt')
0 files changed, 0 insertions, 0 deletions