Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(686)

Unified Diff: net/quic/quic_protocol.cc

Issue 1670863002: QUIC - minor cleanup changes to keep code in sync with the internal source. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0204
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/tools/quic/quic_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_protocol.cc
diff --git a/net/quic/quic_protocol.cc b/net/quic/quic_protocol.cc
index 7cfa8b97443e2d2de9061d2193ce8f722061a800..c3248ece30c2088028a78b061dced906d7d3db36 100644
--- a/net/quic/quic_protocol.cc
+++ b/net/quic/quic_protocol.cc
@@ -368,7 +368,9 @@ PacketNumberQueue::const_iterator::const_iterator(
IntervalSet<QuicPacketNumber>::const_iterator interval_set_iter,
QuicPacketNumber first,
QuicPacketNumber last)
- : interval_set_iter_(interval_set_iter), current_(first), last_(last) {}
+ : interval_set_iter_(std::move(interval_set_iter)),
+ current_(first),
+ last_(last) {}
PacketNumberQueue::const_iterator::const_iterator(const const_iterator& other) =
default;
@@ -395,8 +397,7 @@ bool PacketNumberQueue::const_iterator::operator==(
}
PacketNumberQueue::const_iterator::value_type
- PacketNumberQueue::const_iterator::
- operator*() const {
+ PacketNumberQueue::const_iterator::operator*() const {
return current_;
}
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/tools/quic/quic_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698