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

Unified Diff: compiled/library.cpp

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: Created March 13, 2018, 6:20 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/library.cpp
diff --git a/compiled/library.cpp b/compiled/library.cpp
index 68a2fd22edd26ba37e7672273ebf3f1d4b29e147..eaaf9b919d719848d572ea1015e3876f12012e6d 100644
--- a/compiled/library.cpp
+++ b/compiled/library.cpp
@@ -71,7 +71,7 @@ bool TestRegExp(RegExpID id, const String& str)
if ((id < regexPool.size()) && regexPool[id])
return std::regex_match(StdWStringFromString(str), *regexPool[id]);
- assert2(id < regexPool.size() && regexPool[id], u"Invalid RegExp index."_str);
+ assert2(id < regexPool.size() && regexPool[id], ABP_TEXT("Invalid RegExp index."_str));
return false;
}

Powered by Google App Engine
This is Rietveld