| Index: regexp2000/src/list-inl.h
|
| diff --git a/regexp2000/src/list-inl.h b/regexp2000/src/list-inl.h
|
| index 28856d25cab2d16b737c982b0a74479d4172b046..eeb580323f36700fc812997dd455032f6fcb5c08 100644
|
| --- a/regexp2000/src/list-inl.h
|
| +++ b/regexp2000/src/list-inl.h
|
| @@ -90,7 +90,7 @@ void List<T, P>::Iterate(void (*callback)(T* x)) {
|
|
|
|
|
| template<typename T, class P>
|
| -bool List<T, P>::Contains(T& elm) {
|
| +bool List<T, P>::Contains(const T& elm) {
|
| for (int i = 0; i < length_; i++) {
|
| if (data_[i] == elm)
|
| return true;
|
|
|