Fixing some clang-tidy findings.
Bug: None Change-Id: I949c1ff35284ce79c99e8f76148f63b8bba965a9 Reviewed-on: https://webrtc-review.googlesource.com/24041 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20818}
This commit is contained in:
committed by
Commit Bot
parent
89e712649d
commit
c61ce0d0cd
@ -267,7 +267,7 @@ class RTCStatsVerifier {
|
||||
valid_reference = true;
|
||||
const RTCStatsMember<std::vector<std::string>>& ids =
|
||||
member.cast_to<RTCStatsMember<std::vector<std::string>>>();
|
||||
for (const std::string id : *ids) {
|
||||
for (const std::string& id : *ids) {
|
||||
const RTCStats* referenced_stats = report_->Get(id);
|
||||
if (!referenced_stats || referenced_stats->type() != expected_type) {
|
||||
valid_reference = false;
|
||||
|
||||
Reference in New Issue
Block a user