[Sanitizer] Follow-up for r178238 - replace DCHECKs with regular CHECKs
llvm-svn: 178336
This commit is contained in:
parent
069ab0345b
commit
703a9870a2
|
|
@ -282,11 +282,11 @@ class InternalVector {
|
|||
UnmapOrDie(data_, capacity_ * sizeof(T));
|
||||
}
|
||||
T &operator[](uptr i) {
|
||||
DCHECK_LT(i, size_);
|
||||
CHECK_LT(i, size_);
|
||||
return data_[i];
|
||||
}
|
||||
const T &operator[](uptr i) const {
|
||||
DCHECK_LT(i, size_);
|
||||
CHECK_LT(i, size_);
|
||||
return data_[i];
|
||||
}
|
||||
void push_back(const T &element) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue