Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: compiled/IntMap.h

Issue 29637575: Noissue - fix Uint32SetEntry::erase what could lead to a data loss (Closed) Base URL: https://github.com/adblockplus/adblockpluscore.git
Patch Set: Created Dec. 13, 2017, 11:54 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/IntMap.h
diff --git a/compiled/IntMap.h b/compiled/IntMap.h
index 1deb571b497d10b46b8499635b3fdf7495e56499..ba7bd8e8b96fc8678c3bfb981d93e1e3ca70fbf9 100644
--- a/compiled/IntMap.h
+++ b/compiled/IntMap.h
@@ -63,7 +63,7 @@ namespace Uint32Map_internal
void erase()
{
- first = KEY_INVALID;
+ first = KEY_DELETED;
}
static size_type hash(key_type_cref key)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld