Index: src/bit-vector.h |
diff --git a/src/bit-vector.h b/src/bit-vector.h |
index 13f9e97c302ea414da4c2e8caf7c625ea814d01f..fd61489c2aa69938241feffed908ba527eead711 100644 |
--- a/src/bit-vector.h |
+++ b/src/bit-vector.h |
@@ -166,7 +166,7 @@ class BitVector : public ZoneObject { |
return true; |
} |
- bool Equals(const BitVector& other) { |
+ bool Equals(const BitVector& other) const { |
for (int i = 0; i < data_length_; i++) { |
if (data_[i] != other.data_[i]) return false; |
} |