Skip to content

Commit 55e4ddc

Browse files
committed
Backport change to fix build on ToT Clang
This backports upstream change: https://quiche.googlesource.com/quiche/+/c1af894e0f5c4f732a983e7c93227854e203570e Fix QuicIntervalDeque::Iterator::operator+= The code was referring to a member which didn't exist. This was uncovered by a recent Clang change [1] which made the compiler lookup these names at template parse time rather than instantiation time. 1. llvm/llvm-project#90152 PiperOrigin-RevId: 630952202 Test: presubmit Change-Id: I82121b22326dd0a5b0db65463b11f174b6aa81fe
1 parent 9ef62c8 commit 55e4ddc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

net/third_party/quiche/src/quiche/quic/core/quic_interval_deque.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,12 +198,12 @@ class QUICHE_NO_EXPORT QuicIntervalDeque {
198198
Iterator operator+(difference_type amount) const {
199199
Iterator copy = *this;
200200
copy.index_ += amount;
201-
QUICHE_DCHECK(copy.index_ < copy.deque_->size());
201+
QUICHE_DCHECK(copy.index_ < copy.deque_->Size());
202202
return copy;
203203
}
204204
Iterator& operator+=(difference_type amount) {
205205
index_ += amount;
206-
QUICHE_DCHECK(index_ < deque_->size());
206+
QUICHE_DCHECK(index_ < deque_->Size());
207207
return *this;
208208
}
209209
difference_type operator-(const Iterator& rhs) const {

0 commit comments

Comments
 (0)