Skip to content

Commit 3302586

Browse files
author
Siva Chandra Reddy
committed
[libc] Add a missing this-> in __llvm_libc::cpp:MutableArrayRef::end.
I had removed it to verify a review comment, but forgot to put it back.
1 parent 8d2e9bc commit 3302586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/utils/CPP/ArrayRef.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ template <typename T> class MutableArrayRef : public ArrayRef<T> {
8181
T *data() const { return const_cast<T *>(ArrayRef<T>::data()); }
8282

8383
iterator begin() const { return data(); }
84-
iterator end() const { return data() + size(); }
84+
iterator end() const { return data() + this->size(); }
8585

8686
T &operator[](size_t Index) const { return data()[Index]; }
8787
};

0 commit comments

Comments
 (0)