Philipp Hancke 2852ab90d9 stats: prefer rvalues in stats creation
and clean up the stats collector a bit, using auto for unique_ptr

BUG=webrtc:14807

Change-Id: I3c699bf89275f5c06de6f47a2935a453a60116ed
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/290572
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Philipp Hancke <phancke@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#39027}
2023-01-09 10:05:36 +00:00
..
2022-05-12 18:34:33 +00:00
2022-01-18 13:46:37 +00:00