提交 12aecd45 authored 作者: José Luis Millán's avatar José Luis Millán

RtpStreamRecv: const correctness

上级 95e78547
...@@ -170,9 +170,9 @@ namespace RTC ...@@ -170,9 +170,9 @@ namespace RTC
size_t bytes{ 0u }; size_t bytes{ 0u };
for (auto& spatialLayerCounter : this->spatialLayerCounters) for (const auto& spatialLayerCounter : this->spatialLayerCounters)
{ {
for (auto& temporalLayerCounter : spatialLayerCounter) for (const auto& temporalLayerCounter : spatialLayerCounter)
{ {
bytes += temporalLayerCounter.GetBytes(); bytes += temporalLayerCounter.GetBytes();
} }
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论