Add copy and move constructors to RateStatistics.
Bug: none
Change-Id: I589a7f202ee1c4b8c06e8f44aa570c47d066ab72
Reviewed-on: https://webrtc-review.googlesource.com/95647
Commit-Queue: Sergey Silkin <ssilkin@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24445}
diff --git a/rtc_base/rate_statistics.h b/rtc_base/rate_statistics.h
index 89bfddf..68035c9 100644
--- a/rtc_base/rate_statistics.h
+++ b/rtc_base/rate_statistics.h
@@ -27,6 +27,11 @@
// scale = coefficient to convert counts/ms to desired unit
// ex: kBpsScale (8000) for bits/s if count represents bytes.
RateStatistics(int64_t max_window_size_ms, float scale);
+
+ RateStatistics(const RateStatistics& other);
+
+ RateStatistics(RateStatistics&& other);
+
~RateStatistics();
// Reset instance to original state.