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

Unified Diff: compiled/filter/Filter.cpp

Issue 29411657: Noissue - [emscripten] Address compiler warnings (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Created April 13, 2017, 3:46 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
Index: compiled/filter/Filter.cpp
===================================================================
--- a/compiled/filter/Filter.cpp
+++ b/compiled/filter/Filter.cpp
@@ -68,17 +68,17 @@ namespace
break;
// Set new string boundaries
text.reset(text, start, end - start);
}
}
Filter::Filter(Type type, const String& text)
- : mType(type), mText(text)
+ : mText(text), mType(type)
{
annotate_address(this, "Filter");
}
Filter::~Filter()
{
knownFilters.erase(mText);
}

Powered by Google App Engine
This is Rietveld