Skip to content

Commit ce23923

Browse files
QUICHE teamstampho
QUICHE team
authored andcommitted
[Backport] 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 Upstream-Status: Backport [google/quiche@c1af894] Change-Id: I50bc7df75698a699365aa9752de9c0a9b0b0591f Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/564494 Reviewed-by: Peter Varga <[email protected]> (cherry picked from commit 502a476) Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/586337 Reviewed-by: Qt Cherry-pick Bot <[email protected]>
1 parent 420846a commit ce23923

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chromium/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 QUIC_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)