提交 2f88be44 authored 作者: José Luis Millán's avatar José Luis Millán

Transport.cpp: const correctness

上级 c5c9e4d5
...@@ -1257,7 +1257,7 @@ namespace RTC ...@@ -1257,7 +1257,7 @@ namespace RTC
this->mapProducers.erase(producer->id); this->mapProducers.erase(producer->id);
// Tell the child class to clear associated SSRCs. // Tell the child class to clear associated SSRCs.
for (auto& kv : producer->GetRtpStreams()) for (const auto& kv : producer->GetRtpStreams())
{ {
auto* rtpStream = kv.first; auto* rtpStream = kv.first;
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论