commit | 128091753acf520506a5b33f569cb8873180011f | [log] [tgz] |
---|---|---|
author | bnc <bnc@google.com> | Fri Jun 25 12:22:32 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Jun 25 12:23:42 2021 -0700 |
tree | 625df1b046870eefec678a572f94d3c72815a6a4 | |
parent | f422b2250d146323092d699520b1db59a09a8821 [diff] |
Add copy assignment operator to supress -Wdeprecated-copy warning. This is copied over from https://quiche-review.googlesource.com/c/quiche/+/10760. PiperOrigin-RevId: 381523102
diff --git a/quic/core/congestion_control/bandwidth_sampler.h b/quic/core/congestion_control/bandwidth_sampler.h index 6738f49..2d5924b 100644 --- a/quic/core/congestion_control/bandwidth_sampler.h +++ b/quic/core/congestion_control/bandwidth_sampler.h
@@ -47,6 +47,7 @@ bytes_in_flight(bytes_in_flight) {} SendTimeState(const SendTimeState& other) = default; + SendTimeState& operator=(const SendTimeState& other) = default; friend QUIC_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, const SendTimeState& s);