Index: src/list.h |
diff --git a/src/list.h b/src/list.h |
index 88171792178924064850eed79b1d4dc9a4ff6a68..ea5fd1e0cac37a0840a7e3f1eb4dea8f6acdff53 100644 |
--- a/src/list.h |
+++ b/src/list.h |
@@ -62,8 +62,8 @@ class List { |
// not safe to use after operations that can change the list's |
// backing store (e.g. Add). |
inline T& operator[](int i) const { |
- ASSERT(0 <= i); |
- SLOW_ASSERT(i < length_); |
+ DCHECK(0 <= i); |
+ SLOW_DCHECK(i < length_); |
return data_[i]; |
} |
inline T& at(int i) const { return operator[](i); } |