Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(959)

Unified Diff: regexp2000/src/list.h

Issue 9110: Experimental: Fixed bug in RegExp Parser. Added feature counting in parser. (Closed)
Patch Set: Merged changes to tip of experimental branch. Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « regexp2000/src/jsregexp.cc ('k') | regexp2000/src/list-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: regexp2000/src/list.h
diff --git a/regexp2000/src/list.h b/regexp2000/src/list.h
index 6946b332c5e3935923a5a1348803ebc68b952e40..b8bdec18a66a460ad637dab176f9fac4b10f538b 100644
--- a/regexp2000/src/list.h
+++ b/regexp2000/src/list.h
@@ -95,7 +95,7 @@ class List {
// Drops all but the first 'pos' elements from the list.
INLINE(void Rewind(int pos));
- bool Contains(T& elm);
+ bool Contains(const T& elm);
// Iterate through all list entries, starting at index 0.
void Iterate(void (*callback)(T* x));
« no previous file with comments | « regexp2000/src/jsregexp.cc ('k') | regexp2000/src/list-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698