提交 6d791b65 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

C++ cosmetic

上级 692c8671
...@@ -462,7 +462,6 @@ namespace RTC ...@@ -462,7 +462,6 @@ namespace RTC
lost -= repaired * repairedWeight; lost -= repaired * repairedWeight;
float deliveredRatio = static_cast<float>(received - lost) / static_cast<float>(received); float deliveredRatio = static_cast<float>(received - lost) / static_cast<float>(received);
auto score = std::round(std::pow(deliveredRatio, 4) * 10); auto score = std::round(std::pow(deliveredRatio, 4) * 10);
#ifdef MS_LOG_DEV #ifdef MS_LOG_DEV
......
...@@ -583,7 +583,6 @@ namespace RTC ...@@ -583,7 +583,6 @@ namespace RTC
lost -= repaired * repairedWeight; lost -= repaired * repairedWeight;
float deliveredRatio = static_cast<float>(sent - lost) / static_cast<float>(sent); float deliveredRatio = static_cast<float>(sent - lost) / static_cast<float>(sent);
auto score = std::round(std::pow(deliveredRatio, 4) * 10); auto score = std::round(std::pow(deliveredRatio, 4) * 10);
#ifdef MS_LOG_DEV #ifdef MS_LOG_DEV
...@@ -595,8 +594,6 @@ namespace RTC ...@@ -595,8 +594,6 @@ namespace RTC
repairedWeight, repairedWeight,
lost, lost,
score); score);
report->Dump();
#endif #endif
RtpStream::UpdateScore(score); RtpStream::UpdateScore(score);
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论