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

Unified Diff: compiled/Map.h

Issue 29581602: Issue 5141 - [emscripten] Convert filter matcher to C++ Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Created Oct. 17, 2017, 12:31 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 | « no previous file | compiled/bindings/main.cpp » ('j') | compiled/filter/RegExpFilter.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/Map.h
===================================================================
--- a/compiled/Map.h
+++ b/compiled/Map.h
@@ -85,16 +85,21 @@ namespace Map_internal
{
}
const entry_type* operator->() const
{
return mEntry;
}
+ entry_type* operator->()
+ {
+ return mEntry;
+ }
+
operator bool() const
{
return !mEntry->is_invalid();
}
};
template<typename Entry>
class HashContainer
« no previous file with comments | « no previous file | compiled/bindings/main.cpp » ('j') | compiled/filter/RegExpFilter.h » ('J')

Powered by Google App Engine
This is Rietveld