mirror of
https://github.com/rofafor/vdr-plugin-satip.git
synced 2023-10-10 13:37:42 +02:00
Removed unnecessary this declarations.
This commit is contained in:
parent
0fe1722dee
commit
f6ab251294
8
tuner.h
8
tuner.h
@ -22,8 +22,8 @@ class cSatipPid : public cVector<int> {
|
||||
private:
|
||||
int PidIndex(const int &pidP)
|
||||
{
|
||||
for (int i = 0; i < this->Size(); ++i) {
|
||||
if (pidP == this->At(i))
|
||||
for (int i = 0; i < Size(); ++i) {
|
||||
if (pidP == At(i))
|
||||
return i;
|
||||
}
|
||||
return -1;
|
||||
@ -34,13 +34,13 @@ public:
|
||||
{
|
||||
int i = PidIndex(pidP);
|
||||
if (i >= 0)
|
||||
this->Remove(i);
|
||||
Remove(i);
|
||||
}
|
||||
|
||||
void AddPid(int pidP)
|
||||
{
|
||||
if (PidIndex(pidP) < 0)
|
||||
this->Append(pidP);
|
||||
Append(pidP);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user