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

Unified Diff: compiled/StringScanner.h

Issue 29721753: Issue 6180 - use ABP_TEXT everywhere in order to let String be a UTF-8 string (Closed) Base URL: https://github.com/adblockplus/adblockpluscore.git@adb2678354813ce5b6de095072954c5a784a7bc4
Patch Set: rebase Created March 15, 2018, 1:53 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 | « compiled/String.cpp ('k') | compiled/filter/ActiveFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/StringScanner.h
diff --git a/compiled/StringScanner.h b/compiled/StringScanner.h
index be95de5c8afe1c5ff80b826b05c23b70917e0bdb..6f0a5c27372749c669f363f52fad4fb9fb225fdd 100644
--- a/compiled/StringScanner.h
+++ b/compiled/StringScanner.h
@@ -31,7 +31,7 @@ private:
String::value_type mTerminator;
public:
explicit StringScanner(const String& str, String::size_type pos = 0,
- String::value_type terminator = u'\0')
+ String::value_type terminator = ABP_TEXT('\0'))
: mStr(str), mPos(pos), mEnd(str.length()), mTerminator(terminator) {}
bool done() const
« no previous file with comments | « compiled/String.cpp ('k') | compiled/filter/ActiveFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld