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

RTC: Cosmetic. Do not use 'this->' for member methods

上级 0976424e
...@@ -15,7 +15,7 @@ namespace RTC ...@@ -15,7 +15,7 @@ namespace RTC
if (now < this->oldestTime) if (now < this->oldestTime)
return; return;
this->RemoveOldData(now); RemoveOldData(now);
// Set data in the index before the oldest index. // Set data in the index before the oldest index.
uint32_t offset = this->windowSize - 1; uint32_t offset = this->windowSize - 1;
...@@ -32,7 +32,7 @@ namespace RTC ...@@ -32,7 +32,7 @@ namespace RTC
{ {
MS_TRACE(); MS_TRACE();
this->RemoveOldData(now); RemoveOldData(now);
float scale = this->scale / this->windowSize; float scale = this->scale / this->windowSize;
...@@ -62,7 +62,7 @@ namespace RTC ...@@ -62,7 +62,7 @@ namespace RTC
// A whole window size time has elapsed since last entry. Reset the buffer. // A whole window size time has elapsed since last entry. Reset the buffer.
if (newOldestTime > this->oldestTime + this->windowSize) if (newOldestTime > this->oldestTime + this->windowSize)
{ {
this->Reset(now); Reset(now);
return; return;
} }
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论