Index: webrtc/modules/congestion_controller/trendline_estimator.h |
diff --git a/webrtc/modules/congestion_controller/trendline_estimator.h b/webrtc/modules/congestion_controller/trendline_estimator.h |
index 7ca9b7d072beaf60fc3d6d202a191d5b3eb39136..f09ccb5629a1eb1a3c10ee74aace15be88d462ee 100644 |
--- a/webrtc/modules/congestion_controller/trendline_estimator.h |
+++ b/webrtc/modules/congestion_controller/trendline_estimator.h |
@@ -13,7 +13,7 @@ |
#include <stddef.h> |
#include <stdint.h> |
-#include <list> |
+#include <deque> |
#include <utility> |
#include "webrtc/base/constructormagic.h" |
@@ -61,7 +61,7 @@ class TrendlineEstimator { |
double accumulated_delay_; |
double smoothed_delay_; |
// Linear least squares regression. |
- std::list<std::pair<double, double>> delay_hist_; |
+ std::deque<std::pair<double, double>> delay_hist_; |
double trendline_; |
RTC_DISALLOW_COPY_AND_ASSIGN(TrendlineEstimator); |