| Index: src/vector.h
|
| diff --git a/src/vector.h b/src/vector.h
|
| index 080f89e9f4c3715d007f4e6fb82ffe4699abb3ee..1b9884f4d7915454184195b11be64df477c29bdf 100644
|
| --- a/src/vector.h
|
| +++ b/src/vector.h
|
| @@ -33,7 +33,7 @@ class Vector {
|
|
|
| // Returns a vector using the same backing storage as this one,
|
| // spanning from and including 'from', to but not including 'to'.
|
| - Vector<T> SubVector(int from, int to) {
|
| + Vector<T> SubVector(int from, int to) const {
|
| DCHECK(0 <= from);
|
| SLOW_DCHECK(from < to);
|
| SLOW_DCHECK(static_cast<unsigned>(to) <= static_cast<unsigned>(length_));
|
|
|