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

Unified Diff: compiled/Map.h

Issue 29721697: Noissue - fix support of namespace, external user-config.h and debug configuration (Closed) Base URL: https://github.com/adblockplus/adblockpluscore.git@caf1800ce0342583de4c0320745f0fdb3b55bd01
Patch Set: get rid of the warning Created March 13, 2018, 6:17 p.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 | « .travis/travis-script.sh ('k') | compiled/String.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/Map.h
diff --git a/compiled/Map.h b/compiled/Map.h
index fd50af2e8fc0b85d3e39f5fe709ee300fdd2c9d4..d6a546c19e8ebf52e5e0baa9d8111fc8d2697426 100644
--- a/compiled/Map.h
+++ b/compiled/Map.h
@@ -207,6 +207,9 @@ namespace Map_internal
public:
explicit HashContainer(size_type expectedEntries = 0)
: mEntryCount(0)
+#if defined(DEBUG)
+ , mInsertCounter(0)
+#endif
{
expectedEntries = ceil(expectedEntries / LOAD_FACTOR);
mBucketCount = MIN_BUCKETS;
« no previous file with comments | « .travis/travis-script.sh ('k') | compiled/String.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld