aboutsummaryrefslogtreecommitdiff
path: root/pc
diff options
context:
space:
mode:
authorCourtney Edwards <courtneyfe@chromium.org>2020-03-03 11:36:35 +0100
committerCommit Bot <commit-bot@chromium.org>2020-03-03 13:04:25 +0000
commit134c6996c8b572a386cae2aafe742dc040eecab6 (patch)
tree906cb9654aad8e24da034e5b9411338b9658f84b /pc
parent496a335a87001a9e65df572ae9b29e038a29f2d5 (diff)
downloadwebrtc-134c6996c8b572a386cae2aafe742dc040eecab6.tar.gz
Fix Chromium Roll failing because of -Wrange-loop-construct
Bug: webrtc:11398 Change-Id: I51f6f9968b3a94b5fec325e8b5d29fd2bb290ee1 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/169553 Commit-Queue: Courtney Edwards <courtneyfe@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Henrik Boström <hbos@webrtc.org> Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30669}
Diffstat (limited to 'pc')
-rw-r--r--pc/channel_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/pc/channel_unittest.cc b/pc/channel_unittest.cc
index 8ce3729f45..d5c51ecd8a 100644
--- a/pc/channel_unittest.cc
+++ b/pc/channel_unittest.cc
@@ -1312,7 +1312,7 @@ class ChannelTest : public ::testing::Test, public sigslot::has_slots<> {
void CreateSimulcastContent(const std::vector<std::string>& rids,
typename T::Content* content) {
std::vector<RidDescription> rid_descriptions;
- for (const std::string name : rids) {
+ for (const std::string& name : rids) {
rid_descriptions.push_back(RidDescription(name, RidDirection::kSend));
}