Index: webrtc/modules/remote_bitrate_estimator/include/send_time_history.h |
diff --git a/webrtc/modules/remote_bitrate_estimator/include/send_time_history.h b/webrtc/modules/remote_bitrate_estimator/include/send_time_history.h |
index e0ed6bff704ffe39578913ee4082b0ab2f1ccc43..d26ea8b65757ad79cbf732243103c047f6110f51 100644 |
--- a/webrtc/modules/remote_bitrate_estimator/include/send_time_history.h |
+++ b/webrtc/modules/remote_bitrate_estimator/include/send_time_history.h |
@@ -23,7 +23,7 @@ struct PacketFeedback; |
class SendTimeHistory { |
public: |
- SendTimeHistory(Clock* clock, int64_t packet_age_limit_ms); |
+ SendTimeHistory(const Clock* clock, int64_t packet_age_limit_ms); |
~SendTimeHistory(); |
void Clear(); |
@@ -43,7 +43,7 @@ class SendTimeHistory { |
bool GetFeedback(PacketFeedback* packet_feedback, bool remove); |
private: |
- Clock* const clock_; |
+ const Clock* const clock_; |
const int64_t packet_age_limit_ms_; |
SequenceNumberUnwrapper seq_num_unwrapper_; |
std::map<int64_t, PacketFeedback> history_; |